Hi,
I'm new to Spring. So please be tolerant if I'm asking silly questions.
I'm trying to make a multiaction controller like as following:

Code:
@Controller
@RequestMapping("/action.do")	
public class EditPo {
@RequestMapping("/new")	
	public String newPo(HttpSession session,ModelMap model)
	{
		return "form1";
	}
@RequestMapping("/edit")	
	public String editPo(HttpSession session,ModelMap model)
	{
		return "form2";
	}
}
I think I should be able to get form1 from http://localhost:8080/Webapp/action.do/new and form2 from http://localhost:8080/Webapp/action.do/edit. But instead I got HTTP 404 error and "WARNING: No mapping found for HTTP request with URI [/POTracking/servlet/action.do/new] in DispatcherServlet with name 'dispatcherServlet'" in console output. And what is even stranger is when I put http://localhost:8080/Webapp/action.do, I always got form1, no matter which method I put first in the src code.
My environment is eclipse 3.5, tomcat 5.5, spring 3.0.2. I put <context:component-scan base-package=... > in the dispatcherServlet-servlet.xml.

Thanks in advance for any suggestion.