I just started with Spring Web MVC. I\'m trying to avoid file extenstions in the url. How can i do this? (I\'m using Spring 2.5.x)
Bean:
<
As far as I know you can't do this if you're using JSP's as your view for controllers.
Because when you pass a model to a JSP, Spring MVC internally performs a 'forward' to the URL of the JSP. If you use
then this forward will also be handled by your DispatcherServlet and not by your JSP view.
What you can do is use
and have your JSP's in a different directory