/MultiActionSpring/user.htm/add ? Your DispatcherServlet is mapped to *.htm. The request associated to that URL will not be processed by the dispatcher. I see at least two problems
1. You defined a method name parameter called "method", but you are not using it
2. You mapped the controller to /user/*.htm but you are linking to user.htm in your JSP
I think you should change "<a href="user.htm/add">Add</a> " to something like "<a href="/yourcontext/user/something.htm?method=add">Add</a>", where "yourcontext" is the name of your application (should be set dynamically). I'm not sure it's wise to map the controller to /user/*.htm.
Joined: Jul 03, 2010
now i made changes in mapping it works fine.
Thanks a lot.
subject: How to invoke method using controller class in spring