Re: Updating files without restarting Tomcat

2002-07-03 Thread cbarnes
> In my opinion you have a different problem here. Probably you read those > properties files at some point in your application lifecycle. Suppose > that point is your servlet init method (which is called only once > in the servlet life). > > If you change the properties files it's your responsi

Updating files without restarting Tomcat

2002-07-02 Thread cbarnes
I am using Tomcat 4. I have a number of properties files in the WEB-INF/classes directory. I need to be able to change the values of the properties in these files, but it looks as though I need to restart Tomcat every time I change a value in order for it to recognise the new version of the file.

Re: path info for servlets and JSPs

2002-06-24 Thread cbarnes
> I don't know if you can do exactly what you want but an alternative could > be to url-encode the path in the request as a variable > > for example: http://server/application/mypage.jsp?path > =%2fextra%2fpath%2finfo > (I think %2f = / but please check!) > > Brendan > I want to avoid url-encodin

path info for servlets and JSPs

2002-06-21 Thread cbarnes
In web.xml I have added a servlet mapping so that the servlet can take extra path information as follows: myservlet /myservlet/* Is it possible to do something similar with JSPs - and if so how and where do I configure this? I would like to be able to use a URL such as http://s

Updating files without restarting Tomcat

2002-05-01 Thread cbarnes
I am using Tomcat 4. I have a .properties file in my WEB-INF/classes part of my work tree, which is read in using a ResourceBundle. My problem is that if I update this properties file it does not recognise the new version until I have restarted Tomcat. Is there a config value I can change so that

Re: Custom tag classes

2002-04-19 Thread cbarnes
ot; <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 11:37 AM Subject: RE: Custom tag classes I have in server.xml this section : But I didn't said in previous mail which version I have. It is 3.3.1 . Maybe in Tomcat 4.x it is different. -Original Message

Re: Custom tag classes

2002-04-19 Thread cbarnes
I can't find a TagPooling setting anywhere in my conf files. I have also done a search on the apache.org site for this but can't find anything that looks relevant. Is this definatly what its called? Thanks for your help, Catharine - Original Message - From: "Pekník Jan" <[EMAIL PROTECTED

Custom tag classes

2002-04-19 Thread cbarnes
I am using version 4 of Tomcat. I have written a number of custom tags and these appear to work fine. However, I had always understood that an individual instance of the java class for the custom tag is reused, and that the release method needs to be used to reset any class variables back to thei