How can I force static resources (HTML, CSS, JS) to be served under a different path than what is specified in the /webapp/ directory?
Say I have a resource at the following path in my webapp:
/src/main/webapp/client/mypage.html
I want clients to be able to access it from the following URL:
/myapp-context/v1/client/mypage.html
How can I specify a common root URL ("v1") for these resources in my web.xml
is there a default filter or static resource servlet I can configure which will enable this behavior? Alternately, can I specify a base URL for the entire app beyond the context root?