hefferan - Feb 05, 2012 - 05:36 PM
I am using ME4S 10 and scaffolding a full appication using JPA entities as the source. I have selected JSF as the front end to be generated. The following generated file "WebRoot/WEB-INF/sitemesh-decorators/main.jsp" contains the code:
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
I've searched the ME4S installation directory for these files but cannot find them anywhere.
cconway - Feb 05, 2012 - 10:37 PM
Those files are found in the spring-js-2.0.7.RELEASE.jar that is added to your project as a dependency. That jar is part of the "Spring MVC 3 Libraries" classpath container.
At runtime the files are actually being located by the Spring Resource Servlet that is configured in your web.xml. Look in web.xml for a servlet-mapping that maps the path "/resources/*" to the spring Resource Servlet. Now exactly how the Resource Servlet finds the files inside the Spring-js jar is a good question!
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits