-
1. Re: Precompile JSPs
admiyo Mar 4, 2002 6:33 PM (in response to shodson)$CATALINA/bin/jspc.sh or $TOMCAT/bin/jspc.sh
THat will compile the pages. I think there might be some mapping issues as well.. -
2. Re: Precompile JSPs
servigo Mar 6, 2002 5:27 AM (in response to shodson)Well, there is jasper.JspC compiler, which allows to compile jsp into java source code, but what I am interested about is precompiling just when deploying. It means not for testing (checking validity) but for better access time. Normally are deployed JSP compiled when first time access. I would like to have these compilation being performed on one place when deploying, then even first hit would be processed fast. I've read about one way: compile and put generated classes in war-file with appropriate servlet,servlet-mapping in web.xml, but this doesn't look good to me: additional work;-) (for every jsp!!!)
Well, exist some other clever way(s) to achieve this kind of 'pre-compilation'?
I mean it could be in specific server descriptor, but I didn't find something like this in Tomcat.