JSP files in the war

Brent Putman putmanb at georgetown.edu
Sat May 17 16:10:47 EDT 2014


On 5/17/14 4:02 PM, Brent Putman wrote:
>
> Yeah, if you just want them to be web-visible, and don't need them to be
> "hidden" in the classpath, or in a jar, you'd just put them in the web
> document root.  I've done that often in plain Spring MVC apps. Things in
> the web root are just treated as static files.

Actually, brain fart, I just checked and see that we are mounting the
DispatcherServlet as the / path.  That probably does muck with
resolution of static resources.  So you probably do need the
<mvn:resources />. 



More information about the dev mailing list