There is no way to change web.xml on the fly. Except by -
- putting a new web.xml in its place
- stop the app
- start the app

As for changes to server.xml. This can be done via JMX. See the code to the admin app on how make changes.

-Tim

Adi Katz wrote:
Hello,

I am interested in changing the server.xml and web.xml files through
servlets and then reload them.
So for example I can add JNDI entries in server.xml without the nedd to
stop/start tomcat again.
Something very similar is done in the admin app ( shipped with tomcat ).
Does anybody have a code example or some tips on how to do it ??

Thanks,
Adi


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to