I've looked at this post: Spring MVC; avoiding file extension in url?
This isn't working.... when I use
<servlet-mapping>
<servlet-name>Spring-MVC-Dispatcher-Servlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
I get the warning
WARNING: No mapping found for HTTP request with URI [/CMT/WEB-INF/jsp/content/edit.jsp] in DispatcherServlet with name 'Spring-MVC-Dispatcher-Servlet'
WARNING: No mapping found for HTTP request with URI [/CMT/WEB-INF/jsp/content/edit.jsp] in DispatcherServlet with name 'Spring-MVC-Dispatcher-Servlet'
My default settings are using *.htm
and the URL http://localhost:8080/CMT/content/edit.htm
, but I'd like to be using http://localhost:8080/CMT/content/edit
I also still need to be able to load resources like js/css files located in CMT/js
, CMT/css
and CMT/lib