Option 1 isn't really viable for a production system.  There are times
when the PHBs want to make a minor change in an included file and the
easiest way to deal with it is to just make the change in the production
server and touch all of the files.  Option two is problematic as well
since it involves stopping the server which means that you have to stop
handling requests.

I have another option: don't use JSP.  Use Velocity
http://jakarta.apache.org/velocity/  either alone or with a framework
(such as <shameless-plug>JPublish http://www.jpublish.org/
</shameless-plug>).

Sincerely,
Anthony Eden

> -----Original Message-----
> From: Don Sauer [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, March 19, 2002 2:23 PM
> To: 'Tomcat Users List'
> Subject: RE: JSP Page caching questions
> 
> 
> There are 2 ways. 1. Modify the server.xml and turn 
> reloadable off for your JSP (this is recommended because it 
> will compile them each time the JSP page is run) or 2. Stop 
> Tomcat and delete the jsp cache pages under the working 
> drectory and restart Tomcat
> 
> -----Original Message-----
> From: Anthony Eden [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 19, 2002 11:23 AM
> To: 'Tomcat Users List'
> Subject: RE: JSP Page caching questions
> 
> 
> FWIW, I wrote a small Perl script for doing a recursive touch 
> on all files in a given directory.  It is at 
> http://www.anthonyeden.com/projects/perl/rtouch.pl.txt
> 
> Sincerely,
> Anthony Eden
> 
> > -----Original Message-----
> > From: Diego, Emil [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, March 19, 2002 9:14 AM
> > To: Tomcat Mailing List (E-mail)
> > Subject: JSP Page caching questions
> >
> >
> >
> > Hi,
> >
> > Here is the environment I am running under.
> > Redhat linux 7.2 running apache 1.3 and Tomcat 3.2.3.
> >
> > I have a JSP website that I am making modifications to, 
> here is what 
> > is happening.
> >
> > I hav a group of 20 pages, that are all including another 
> pages using 
> > the following tag <%@include file="includes/main.jsp" %>
> >
> > I modified the main.jsp page to modify the order of some 
> menu buttons.
> >
> > My question is this. Of the 20 pages that are including this file, 
> > only 2 of them are displaying the modified menu button order. And 
> > those 2 were new pages that I added to the site.
> >
> > I am assuming that the two pages are working fine because they were 
> > not previously compiled by tomcat.
> >
> > My question is this.  How do i tell tomcat to recompile all 
> the JSP so 
> > that they are updated with the modifications I made.
> >
> >
> > Emil
> >
> > --
> > To unsubscribe:   
> <mailto:tomcat-user-> [EMAIL PROTECTED]>
> > For 
> additional commands: 
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> >
> 
> 
> --
> To 
> unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to