tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Cheung <sy_cheu...@yahoo.com>
Subject Config servlet parameters in Tomcat at run time
Date Fri, 30 Aug 2002 00:39:11 GMT
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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message