Peter Crowther wrote:
A Tomcat-specific solution: Implement a Valve that intercepts all incoming requests (it has to be a tomcat-specific Valve rather than a Filter, because Filters are per-webapp). In that Valve, examine the request URL, determine which servlet it maps to, check whether then servlet is presently enabled or not, then either pass the request in or display an appropriate message.
Hi, thanks for the answer. It sounds like a solution, but I need to enable a eg. system administrator to enable / disable features in my web application. I could have a Valve "scheme" for how the features are available, but somehow the system administrator should be able to select / deselect a feature without restart of the web containter. My vision is, that he should be able to push a button in the "admin" interface, where after the web application reloads. Any idea how to do that?
/kews --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]