I have a web application using Tiles. I am using Jasper to precompile the JSPs (both the regular ones and the Tiles JSPs).
When deploying on Tomcat, you have to insert a <servlet> element in your web.xml for each precompiled JSP (JSP Servlet) so that the container can find it.* Unfortunately don't know how to do this with Tiles. The pages display fine, but Tomcat always recompiles those JSP files.
I think this is part of the problem: The Tiles JSPs themselves are not in the public web directory, but hidden in WEB-INF.
Has anyone else faced this issue?
*BEA WebLogic is a bit smarter: it will find the jsp_servlet .class files in the WAR without needing to mention them in the web.xml.