I was wondering if it is possible to have the same servlet running twice =
under a single instance of Tomcat.

I am running Tomcat 3.2, but could upgrade to Tomcat 4.0.

What I want to do is be able to access 2 different databases through the =
same servlet code.  So http://localhost/ProdApp would run against a =
production database and http://localhost/TestApp would run against a test =
database.  My database connection information is stored in the web.xml =
file and I assume if this is possible the web.xml file is what I need to =
manipulate.  I just don't want to spend hours working on this if it is not =
possible.

Thanks,
Gerry

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to