You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by BV Karthik <ka...@gmail.com> on 2005/02/28 07:55:46 UTC

Pre-Compilation in Tomcat & Jasper

Hi,

Is there anything in Tomcat which will pre-compile our JSP's?
What jasper has to do with Tomcat?
Pls help. Thanks in advance.

Regards,
Karthik BV

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Pre-Compilation in Tomcat & Jasper

Posted by Antony Paul <an...@gmail.com>.
there is one jspc.bat in bin directory or an Ant task - JspC is
available for pre compiling jsp. Using this you can compile JSP to
Servlets and put it in WEB-INF/classes directory. It has parameter to
generate the required web.xml mappings.
Note : In Tomcat 4.1.x the task by default compiles all classes into
org.apache.jsp.

rgds
Antony Paul
On Mon, 28 Feb 2005 12:25:46 +0530, BV Karthik <ka...@gmail.com> wrote:
> Hi,
> 
> Is there anything in Tomcat which will pre-compile our JSP's?
> What jasper has to do with Tomcat?
> Pls help. Thanks in advance.
> 
> Regards,
> Karthik BV
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org