I am using the following controller for a parameter-method resolution.
@Controller
@RequestMapping("/customer")
public class CustomerController extends MultiActionController{
@RequestMapping(params = "action=add")
public ModelAndView add(HttpServletRequest request,
HttpServletResponse response) throws Exception {
return new ModelAndView("CustomerPage", "msg","add() method");
}
....
....
}
However,this makes the url of the following format to work:
http://localhost:7001/begin-mvc/customer/?action=update
How do I get this to work for /customer/*.htm?action=.....