Dror Matalon wrote:
> Hi,
>
> We have users in different contexts using the same tools which are JSP
> files. It'd be nice to precompile them and put them in a jar file.
> I know how to find the classes in the work directory (under tomcat) ,
> but I'd rather make them available as a jar file rather than having to
> prepopulate the .jsp and .class files. Is there a way to do this?

Sure. Most containers come with a JSP compiler. For Tomcat 4, see the
JspC command:


<http://cvs.apache.org/viewcvs/~checkout~/jakarta-tomcat-4.0/jasper/doc/jspc.html>

The details are too much for this mailing list, but I describe exactly
how to do this in the "JavaServer Pages, Second Edition" book:

   <http://TheJSPBook.com/>

Hans
--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com
JavaServer Pages        http://TheJSPBook.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to