tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Cheung <>
Subject Config servlet parameters in Tomcat at run time
Date Fri, 30 Aug 2002 00:39:11 GMT

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.

Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message