i'm developing a J2EE App using Spring (mvc, security, etc...) and i have a problem with the mappings. I would like to redirect people who type "..../myapp" to a welcome jsp, specifically to "/myapp/welcome.html"
Previously my servlet-mapping had this config:
<servlet-mapping> <servlet-name>MyApp</servlet-name> <url-pattern>*.html</url-pattern> </servlet-mapping> But i changed it, in order to catch the "/myapp" request. The newone that i wrote is the following:
<servlet-mapping> <servlet-name>ThreddsAdminPanel</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping> It works as expected but when i try to access to a page which needs an css, this error appears: "No mapping found for HTTP request with URI"
I think that if My url-pattern is /*, the servlet is catching something that doesn't belong to it although i don't know how to do it. Does anybody know a good way to do this?
Thank you