You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ionel Gardais <io...@geomath.fr> on 2003/08/05 08:48:09 UTC

force precompilation of JSPs

Hi,

I am experiencing a slow down when I access a JSP page for the first 
time after I deploy e web app.
Is there a way to force precompilation of these files as soon as the web 
app is deployed ?

Thanks,
ionel


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


Re: force precompilation of JSPs

Posted by Alen Ribic <al...@mweb.co.za>.
If you are using Tomcat.
%TOMCAT_HOME%/bin/jspc can do this.
read your Tomcat documentation for instructions.

For other look at vendor specific documentation for clues.

--Alen


----- Original Message ----- 
From: "Ionel Gardais" <io...@geomath.fr>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Tuesday, August 05, 2003 8:48 AM
Subject: force precompilation of JSPs


> Hi,
> 
> I am experiencing a slow down when I access a JSP page for the first 
> time after I deploy e web app.
> Is there a way to force precompilation of these files as soon as the web 
> app is deployed ?
> 
> Thanks,
> ionel
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


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


Re: force precompilation of JSPs

Posted by Nagendra Kumar O V S <na...@ikigo.com>.
hi,
yes, u can precompile all your jsp pages in to servlets using the app server
jsp compiler.. and give the corresponding servlet name and path in the web
xml..

-- nagi

-------Original Message-------

From: Struts Users Mailing List
Date: Tuesday, August 05, 2003 12:24:05 PM
To: Struts Users Mailing List
Subject: force precompilation of JSPs

Hi,

I am experiencing a slow down when I access a JSP page for the first 
time after I deploy e web app.
Is there a way to force precompilation of these files as soon as the web 
app is deployed ?

Thanks,
ionel


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


.