I am having issue in spring3 frameowrk.org.springframework.web.servlet.DispatcherServlet
file name is WelcomeController.java
package com.rethink.controller;
import java.util.Map;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@Controller
@RequestMapping("/welcome")
public class WelcomeController {
@RequestMapping(method = RequestMethod.GET)
public String displayMessage(Map<String, String> map){
System.out.println("In");
map.put("loginmessage","Please Login with Your Details");
return "index";
}
}
this is my web.xml and motion-comics-servlet.xml
Click here for web.xml and motion-comics-servlet.xml screen shot
I have placed my view in Web Pages/Web-INF/jsp/index.jsp
no matter what i try i just can't make it to work....
my help and advise will be much appreciated ....
thanks in advance