I've gotten my JSPs precompiled, and installed via a WAR under WEB-INF/classes. Previously, those JSPs were all in my APP_ROOT/ directory, and Apache "knew" that index.jsp or index.html were valid directory listings (via httpd.conf). However, since index.jsp is now hidden from Apache in WEB-INF, how do I handle setting up a default page for my application root? Details: Tomcat is configured to serve all requests of form .jsp or .do via mod_jk. All other files are served by Apache. Thoughts that have occurred to me: * don't precompile index.jsp - leave it in the root * use an index.html file to redirect to index.jsp
An IDE is no substitute for an Intelligent Developer.
Joined: Dec 12, 2001
Pre-compiling just so that we can turn off auto-reloading/compiling in Tomcat. Because we have a processing-intensive site, we're trying to squeeze out whatever extra time we can by paying attention to the details (pre-compiling, having Apache serve images, etc). Our pages themselves aren't particularly processing-intensive, but the business objects behind them generate map images on the fly, and that can take a little bit.