jsp - resources configuration mapping in the servlet -
the problem addressed i'm trying add javascript file use in page in project, built project 1 servlet , many controllers using annotations , reflection.
i set 2 url-mappings:
<servlet-mapping> <servlet-name>servletmanager</servlet-name> <url-pattern> *.* </url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>servletmanager</servlet-name> <url-pattern> / </url-pattern> </servlet-mapping>
the first 1 mapping resources , second 1 mapping http request (note: project has 1 servlet , many controllers)
Comments
Post a Comment