I hope you can help me with this...

I am trying to devise a precompiling procedure to reduce load on our production 
servers.  I am precompiling the jsps on a staging server and then copying over the 
.jsp files to the appropriate webapp directory and the .java and .class files to the 
work directory.  It works great the first time (it spots the new JSP and notices a 
newer compiled version in the work directory and loads that without any compilation), 
but it does not work when I am trying to copy over new versions of existing JSPs - it 
continues to serve the old one even though the .jsp file is new and the .class and 
.jsp files are new.  I'm not sure what it does - it seems that it must be comparing 
the modified time of the .jsp file with that of the .class file and if the class file 
is newer it does nothing even if they are both newer than the loaded class file.

Does anybody have any idea how I can prompt it to load the new class in the work 
directory to replace the existing one - is this even possible?

Any help would be much appreciated.
Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


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

Reply via email to