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

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

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-encoding the

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: servlet-mapping servlet-namemyservlet/servlet-name url-pattern/myservlet/*/url-pattern /servlet-mapping Is it possible to do something similar with JSPs - and if so how and

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

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

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]

Re: Custom tag classes

2002-04-19 Thread cbarnes
in Tomcat 4.x it is different. -Original Message- From: cbarnes [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 12:21 PM To: Tomcat Users List Subject: Re: Custom tag classes I can't find a TagPooling setting anywhere in my conf files. I have also done a search on the apache.org site