Hi,
I would like my web app to have urls like this:
www.example.com/home
www.example.com/contacts
www.example.com/register
But if I put this in web.xml to be able to do that:
my application cannot load resources like images, styles and scripts because all requests are now going through the spring servlet, and it does not find these resources.Code:<servlet-mapping> <servlet-name>spring-servlet</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping>
Does anyone knows how to manage that??
Thanks in advance,
Vitor.


Reply With Quote
