Look at jspc for pre-compiling your JSPs when building the archive for deployment.

-----Original Message-----
From: Mike Elliott [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 00:50
To: Struts Users Mailing List
Subject: Compilation of JSP at time of deployment?


I have a neglected Ultra 1, now running Solaris 9, which I've rescued
to use as a web application server.  It's running JBoss just fine and
when my web application is loaded and run the response time, while
slow (on the order of a second or two per page) is still reasonable.

The problem comes about after redeploy, or reboot, or JBoss restart,
or whatever, which causes JBoss to forget all the compiled servlets
for the application.  When the first user encounters such a page the
page is, of course, compiled and made ready for use -- but this can
take tens of seconds to accomplish, leaving a less than sparkling
impression for the user.

Is there a way to force all the JSPs and ActionForms, etc., to be
compiled and ready to go at the time of deployment?  Even if it takes
several minutes to achieve this, it would be worth it rather than
delaying until the first user/victim accesses the page.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


***********************************************
This e-mail and its attachments are confidential
and are intended for the above named recipient
only. If this has come to you in error, please 
notify the sender immediately and delete this 
e-mail from your system.
You must take no action based on this, nor must 
you copy or disclose it or any part of its contents 
to any person or organisation.
Statements and opinions contained in this email may 
not necessarily represent those of Littlewoods.
Please note that e-mail communications may be monitored.
The registered office of Littlewoods Limited and its
subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
Registered number of Littlewoods Limited is 262152.
************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to