Hi all.
One of the use case of my web app is to allow users to create new
datasources. So in my web app I have a form to create the new datasource.
One of the fields of the form is a input file type, where the user loads the
datasource driver jar. The other fields are used to get the values of the
properties that this datasource will have in web.xml and context.xml. So in
my web app I parse (using jdom) both xml's to create new nodes
(datasources), and to update both files.
And the question is:
- Do I need to restart Tomcat in order that new created datasources be
available??
- If yes (or not), is there some way to create new datasources (updating
web.xml and context.xml) and to be available at once, that is, without
restarting tomcat??

Thnx in advance.

Reply via email to