RE: JSP Page caching questions

2002-03-19 Thread Rodrigo Gonzalez Asensio

I have the same problem
The servlet engine doesn't regenerates the jsp files who has includes modified. 

The trivial solution is touch al files that you wanna update.

--- 

Rodrigo Gonzalez Asensio
División de Ingeniería - Platino - GUI Development
Gilbarco Latin America
Congreso 3450 - C1430AZD Buenos Aires - Argentina
TE: +54 (11) 5167-5634 - +54 (11) 4545-5600 (x 5634)



-Original Message-
From: Diego, Emil [mailto:[EMAIL PROTECTED]] 
Sent: Martes, 19 de Marzo de 2002 11:14 a.m.
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:[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]




RE: JSP Page caching questions

2002-03-19 Thread Anthony Eden

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:[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]




RE: JSP Page caching questions

2002-03-19 Thread Don Sauer

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:[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]



RE: JSP Page caching questions

2002-03-19 Thread Anthony Eden

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-plugJPublish 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]