You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sam Cheung <sy...@yahoo.com> on 2002/08/30 02:39:11 UTC
Config servlet parameters in Tomcat at run time
Hi,
Is it possible to change parameters of a servlet
running in Tomcat at runtime?
For example, I have a static variable counter in my
servlet. In the doGet() method of servlet, I increment
the counter. If counter is less than MAX_COUNT, I
return "ACCEPT", otherwise, I return "REJECT".
Is there a way to config the variable MAX_COUNT thru
the JMX admin interface of Tomcat 4.1.x?
Thank you.
Sam
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>