Where can I find documentation on jspc? Can jspc be used to pre-compile a jsp contained within a WAR file *before* it has been uncompressed?

Serge Knystautas

jspc is an implementation specific feature found in Tomcat and I believe some commercial packages such as Allaire's JRun. The documentation for jspc on Tomcat is very thin... you can see the class that gets called by the jspc command line script and investigate that class to see how it functions.

In theory jspc can be used to pre-compile the JSPs for bundling in a WAR file, but you also need to write entries in the web.xml file (that goes in your WAR) for every JSP, and jspc does not handle creating these entries for you.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact