Reloading .jsp-Pages
Hey, I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always reload the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Reloading .jsp-Pages
Are you using widows? Dominik Jednoralski [EMAIL PROTECTED] 09/17/2002 02:43 AM Please respond to Tomcat Users List To: Tomcat User Help [EMAIL PROTECTED] cc: Subject:Reloading .jsp-Pages Hey, I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always reload the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: Reloading .jsp-Pages
sorry: yes, i am. -Ursprungliche Nachricht- Von: Robert L Sowders [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 11:56 An: Tomcat Users List Betreff: Re: Reloading .jsp-Pages Are you using widows? Dominik Jednoralski [EMAIL PROTECTED] 09/17/2002 02:43 AM Please respond to Tomcat Users List To: Tomcat User Help [EMAIL PROTECTED] cc: Subject:Reloading .jsp-Pages Hey, I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always reload the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Reloading .jsp-Pages
There's a bug in 4.1.10 when Tomcat is used like a service and installed in different drive from C:. Is your case? -Mensaje original- De: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Enviado el: martes, 17 de septiembre de 2002 11:58 Para: Tomcat User Help Asunto: AW: Reloading .jsp-Pages sorry: yes, i am. -Ursprungliche Nachricht- Von: Robert L Sowders [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 11:56 An: Tomcat Users List Betreff: Re: Reloading .jsp-Pages Are you using widows? Dominik Jednoralski [EMAIL PROTECTED] 09/17/2002 02:43 AM Please respond to Tomcat Users List To: Tomcat User Help [EMAIL PROTECTED] cc: Subject:Reloading .jsp-Pages Hey, I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always reload the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: Reloading .jsp-Pages
i am using tomcat 4.0.1 on drive c: -Ursprungliche Nachricht- Von: Miguel Angel Mulero Martinez [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 12:13 An: Tomcat Users List Betreff: RE: Reloading .jsp-Pages There's a bug in 4.1.10 when Tomcat is used like a service and installed in different drive from C:. Is your case? -Mensaje original- De: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Enviado el: martes, 17 de septiembre de 2002 11:58 Para: Tomcat User Help Asunto: AW: Reloading .jsp-Pages sorry: yes, i am. -Ursprungliche Nachricht- Von: Robert L Sowders [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 11:56 An: Tomcat Users List Betreff: Re: Reloading .jsp-Pages Are you using widows? Dominik Jednoralski [EMAIL PROTECTED] 09/17/2002 02:43 AM Please respond to Tomcat Users List To: Tomcat User Help [EMAIL PROTECTED] cc: Subject:Reloading .jsp-Pages Hey, I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always reload the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Reloading .jsp-Pages
Sorry! I mistake the message. This answer isn't for this question. Sorry again. -Mensaje original- De: Miguel Angel Mulero Martinez [mailto:[EMAIL PROTECTED]] Enviado el: miercoles, 18 de septiembre de 2002 12:13 Para: Tomcat Users List Asunto: RE: Reloading .jsp-Pages There's a bug in 4.1.10 when Tomcat is used like a service and installed in different drive from C:. Is your case? -Mensaje original- De: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Enviado el: martes, 17 de septiembre de 2002 11:58 Para: Tomcat User Help Asunto: AW: Reloading .jsp-Pages sorry: yes, i am. -Ursprungliche Nachricht- Von: Robert L Sowders [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 11:56 An: Tomcat Users List Betreff: Re: Reloading .jsp-Pages Are you using widows? Dominik Jednoralski [EMAIL PROTECTED] 09/17/2002 02:43 AM Please respond to Tomcat Users List To: Tomcat User Help [EMAIL PROTECTED] cc: Subject:Reloading .jsp-Pages Hey, I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always reload the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: Reloading .jsp-Pages
no problem. has anyone else an idea? -Ursprungliche Nachricht- Von: Miguel Angel Mulero Martinez [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 12:21 An: Tomcat Users List Betreff: RE: Reloading .jsp-Pages Sorry! I mistake the message. This answer isn't for this question. Sorry again. -Mensaje original- De: Miguel Angel Mulero Martinez [mailto:[EMAIL PROTECTED]] Enviado el: miercoles, 18 de septiembre de 2002 12:13 Para: Tomcat Users List Asunto: RE: Reloading .jsp-Pages There's a bug in 4.1.10 when Tomcat is used like a service and installed in different drive from C:. Is your case? -Mensaje original- De: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Enviado el: martes, 17 de septiembre de 2002 11:58 Para: Tomcat User Help Asunto: AW: Reloading .jsp-Pages sorry: yes, i am. -Ursprungliche Nachricht- Von: Robert L Sowders [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 11:56 An: Tomcat Users List Betreff: Re: Reloading .jsp-Pages Are you using widows? Dominik Jednoralski [EMAIL PROTECTED] 09/17/2002 02:43 AM Please respond to Tomcat Users List To: Tomcat User Help [EMAIL PROTECTED] cc: Subject:Reloading .jsp-Pages Hey, I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always reload the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Reloading .jsp-Pages
Hey, I'm using tomcat 4.0.1 / windows. I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always recomlpile the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Reloading .jsp-Pages
Usually you need to touch the files updated files somehow after copying them otherwise tomcat doesn't know that it needs to recompile them. An alternative is to delete everything in the work directory and restart tomcat forcing it to recompile all jsps. Hamsih -Original Message- From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 2:29 PM To: Tomcat User Help Subject: Reloading .jsp-Pages Hey, I'm using tomcat 4.0.1 / windows. I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always recomlpile the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: RE: Reloading .jsp-Pages
thats the point: it doesn't recompile even if the files where updated. isn't there a switch to force tomcat to always recompile all jsps? -Ursprüngliche Nachricht- Von: Barney Hamish [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 14:34 An: 'Tomcat Users List' Betreff: RE: Reloading .jsp-Pages Usually you need to touch the files updated files somehow after copying them otherwise tomcat doesn't know that it needs to recompile them. An alternative is to delete everything in the work directory and restart tomcat forcing it to recompile all jsps. Hamsih -Original Message- From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 2:29 PM To: Tomcat User Help Subject: Reloading .jsp-Pages Hey, I'm using tomcat 4.0.1 / windows. I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always recomlpile the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: RE: Reloading .jsp-Pages
What you mean? If it doesn't recompile why we have the reloadable option? Anyway, why the need to touch if the file date/time has changed? Shutdown tomcat is just too much. Would be nice if we could send a command to a port to refresh its data. On Tue, 2002-09-17 at 09:47, Dominik Jednoralski wrote: thats the point: it doesn't recompile even if the files where updated. isn't there a switch to force tomcat to always recompile all jsps? -Ursprüngliche Nachricht- Von: Barney Hamish [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 14:34 An: 'Tomcat Users List' Betreff: RE: Reloading .jsp-Pages Usually you need to touch the files updated files somehow after copying them otherwise tomcat doesn't know that it needs to recompile them. An alternative is to delete everything in the work directory and restart tomcat forcing it to recompile all jsps. Hamsih -Original Message- From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 2:29 PM To: Tomcat User Help Subject: Reloading .jsp-Pages Hey, I'm using tomcat 4.0.1 / windows. I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always recomlpile the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Faculdade Ritter dos Reis www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303328 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: RE: Reloading .jsp-Pages
If you've already touched the files and made sure that the date stamp is more recent than the most recent access to that jsp page it could be a browser cache or proxy problem. Have you got caching turned off in your browser? Hamish -Original Message- From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 2:47 PM To: Tomcat User Help Subject: RE: RE: Reloading .jsp-Pages thats the point: it doesn't recompile even if the files where updated. isn't there a switch to force tomcat to always recompile all jsps? -Ursprüngliche Nachricht- Von: Barney Hamish [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 14:34 An: 'Tomcat Users List' Betreff: RE: Reloading .jsp-Pages Usually you need to touch the files updated files somehow after copying them otherwise tomcat doesn't know that it needs to recompile them. An alternative is to delete everything in the work directory and restart tomcat forcing it to recompile all jsps. Hamsih -Original Message- From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 2:29 PM To: Tomcat User Help Subject: Reloading .jsp-Pages Hey, I'm using tomcat 4.0.1 / windows. I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always recomlpile the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: RE: Reloading .jsp-Pages
... and if you are only changing included files then touch the jsp doing the include -Original Message- From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Sent: 17 September 2002 13:47 To: Tomcat User Help Subject: RE: RE: Reloading .jsp-Pages thats the point: it doesn't recompile even if the files where updated. isn't there a switch to force tomcat to always recompile all jsps? -Ursprüngliche Nachricht- Von: Barney Hamish [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 14:34 An: 'Tomcat Users List' Betreff: RE: Reloading .jsp-Pages Usually you need to touch the files updated files somehow after copying them otherwise tomcat doesn't know that it needs to recompile them. An alternative is to delete everything in the work directory and restart tomcat forcing it to recompile all jsps. Hamsih -Original Message- From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 2:29 PM To: Tomcat User Help Subject: Reloading .jsp-Pages Hey, I'm using tomcat 4.0.1 / windows. I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always recomlpile the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: RE: Reloading .jsp-Pages
The problem arent the includes, its the jsp-page itself. its no browser-cache-problem (i've deleted the cache before reloading). the timestamp of the jsp-file is definitly younger than the version before. i deleted the file, restarted the server, got my 404, copied the file again, restarted the server. guess: still from server-cache... i guess the 'reloadable'-switch doesnt work for some reason... -Ursprüngliche Nachricht- Von: jon wingfield [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 15:21 An: Tomcat Users List Betreff: RE: RE: Reloading .jsp-Pages ... and if you are only changing included files then touch the jsp doing the include -Original Message- From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Sent: 17 September 2002 13:47 To: Tomcat User Help Subject: RE: RE: Reloading .jsp-Pages thats the point: it doesn't recompile even if the files where updated. isn't there a switch to force tomcat to always recompile all jsps? -Ursprüngliche Nachricht- Von: Barney Hamish [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 14:34 An: 'Tomcat Users List' Betreff: RE: Reloading .jsp-Pages Usually you need to touch the files updated files somehow after copying them otherwise tomcat doesn't know that it needs to recompile them. An alternative is to delete everything in the work directory and restart tomcat forcing it to recompile all jsps. Hamsih -Original Message- From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 2:29 PM To: Tomcat User Help Subject: Reloading .jsp-Pages Hey, I'm using tomcat 4.0.1 / windows. I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always recomlpile the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: RE: Reloading .jsp-Pages
The reloadable switch is only for .class. The jsp allways must reload in change, but I don't know why fails in your case. -Mensaje original- De: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Enviado el: martes, 17 de septiembre de 2002 15:32 Para: Tomcat User Help Asunto: RE: RE: Reloading .jsp-Pages The problem arent the includes, its the jsp-page itself. its no browser-cache-problem (i've deleted the cache before reloading). the timestamp of the jsp-file is definitly younger than the version before. i deleted the file, restarted the server, got my 404, copied the file again, restarted the server. guess: still from server-cache... i guess the 'reloadable'-switch doesnt work for some reason... -Ursprüngliche Nachricht- Von: jon wingfield [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 15:21 An: Tomcat Users List Betreff: RE: RE: Reloading .jsp-Pages ... and if you are only changing included files then touch the jsp doing the include -Original Message- From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Sent: 17 September 2002 13:47 To: Tomcat User Help Subject: RE: RE: Reloading .jsp-Pages thats the point: it doesn't recompile even if the files where updated. isn't there a switch to force tomcat to always recompile all jsps? -Ursprüngliche Nachricht- Von: Barney Hamish [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 14:34 An: 'Tomcat Users List' Betreff: RE: Reloading .jsp-Pages Usually you need to touch the files updated files somehow after copying them otherwise tomcat doesn't know that it needs to recompile them. An alternative is to delete everything in the work directory and restart tomcat forcing it to recompile all jsps. Hamsih -Original Message- From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 2:29 PM To: Tomcat User Help Subject: Reloading .jsp-Pages Hey, I'm using tomcat 4.0.1 / windows. I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always recomlpile the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Reloading .jsp-Pages
reloadble=true attribute is used to auto-reload jsp pages when they have changed. But you have to remember a key point when you are including a jsp in another jsp page: If you use the %@ include % directive to include , remember that the include happens at compile time rather than request time. So if the included jsp has changed, but the including jsp hasn't, then your changes won't be visible. SO in this case4, it would be better to use the jsp:include /. Moral of story: reloadable attribute isn't a cure-all. You may need to use jsp:include / My 2 cents. RS Dominik Jednoralski To: Tomcat User Help tomcat@lime-desi [EMAIL PROTECTED] gn.de cc: Subject: Reloading .jsp-Pages 09/17/02 07:28 AM Please respond to Tomcat Users List Hey, I'm using tomcat 4.0.1 / windows. I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always recomlpile the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Reloading .jsp-Pages
Another thing I forgot to mention: There may be issues with auto-reload with a particular release. I think you use Tomcat 4.0.2. Check the release notes for that version. Also for the latest version which I believe is Tomcat 4.1.10. RS RSEQUEIRA@TRANSEN TRIC.COM To: Tomcat Users List [EMAIL PROTECTED] 09/18/02 09:02 AMcc: Please respond toSubject: Re: Reloading .jsp-Pages Tomcat Users List reloadble=true attribute is used to auto-reload jsp pages when they have changed. But you have to remember a key point when you are including a jsp in another jsp page: If you use the %@ include % directive to include , remember that the include happens at compile time rather than request time. So if the included jsp has changed, but the including jsp hasn't, then your changes won't be visible. SO in this case4, it would be better to use the jsp:include /. Moral of story: reloadable attribute isn't a cure-all. You may need to use jsp:include / My 2 cents. RS Dominik Jednoralski To: Tomcat User Help tomcat@lime-desi [EMAIL PROTECTED] gn.de cc: Subject: Reloading .jsp-Pages 09/17/02 07:28 AM Please respond to Tomcat Users List Hey, I'm using tomcat 4.0.1 / windows. I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always recomlpile the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: RE: Reloading .jsp-Pages
fair enough. Used to see something similar on earlier versions of tomcat on windows (been on 4.0.4 on linux for a while). Reload of jsps worked for the most part but very occasionally we had to delete tomcat's work directory and restart for changes to be compiled :( If you can, upgrade to 4.0.4 (or 4.1.10 if you're braver than me). I know you said the issue wasn't related to client side caching but here goes anyway: There are a quite a few posts in the archives about trying to get around browser/proxy caching of pages. We have a filter which sets http headers for each jsp requested: snip if (response instanceof HttpServletResponse) { HttpServletResponse httpResponse = (HttpServletResponse)response; httpResponse.setHeader(Cache-Control,no-cache); httpResponse.setHeader(Pragma,no-cache); } /snip some people on the list have also used: httpResponse.setDateHeader(Expires,0); (although i'm not sure what the http spec says about 0 as a value, i'll look it up one day) Hope this helps, Jon -Original Message- From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Sent: 17 September 2002 14:32 To: Tomcat User Help Subject: RE: RE: Reloading .jsp-Pages The problem arent the includes, its the jsp-page itself. its no browser-cache-problem (i've deleted the cache before reloading). the timestamp of the jsp-file is definitly younger than the version before. i deleted the file, restarted the server, got my 404, copied the file again, restarted the server. guess: still from server-cache... i guess the 'reloadable'-switch doesnt work for some reason... -Ursprüngliche Nachricht- Von: jon wingfield [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 15:21 An: Tomcat Users List Betreff: RE: RE: Reloading .jsp-Pages ... and if you are only changing included files then touch the jsp doing the include -Original Message- From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Sent: 17 September 2002 13:47 To: Tomcat User Help Subject: RE: RE: Reloading .jsp-Pages thats the point: it doesn't recompile even if the files where updated. isn't there a switch to force tomcat to always recompile all jsps? -Ursprüngliche Nachricht- Von: Barney Hamish [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. September 2002 14:34 An: 'Tomcat Users List' Betreff: RE: Reloading .jsp-Pages Usually you need to touch the files updated files somehow after copying them otherwise tomcat doesn't know that it needs to recompile them. An alternative is to delete everything in the work directory and restart tomcat forcing it to recompile all jsps. Hamsih -Original Message- From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 2:29 PM To: Tomcat User Help Subject: Reloading .jsp-Pages Hey, I'm using tomcat 4.0.1 / windows. I've a problem with reloading my jsp-pages. tomcat simply ignores the changes I've made to them. I added the following contexts in the server.xml-file: Context path=/WEB-INF/classes/myWebApp docBase=myWebApp debug=0 reloadable=true / and DefaultContext reloadable=true / Anyway, they're still in the servers cache and aren't reloaded after an update. Does anyone of you smart guys know how to tell tomcat to always recomlpile the jsp-files and -includes in the MyWebApp-Directory? Thank you... Dominik Jednoralski -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]