Does anyone know how I can use other applications database connections with tomcat 4.0. I know you can use ServerletContext from the jsp api. But how can I reach te database connections???
You define a database connection in the server.xml between the <Context> and </Context>. The tag is <Resource> and <ResourceParams>. Is there a way to get to another applications connections?
I'm using Tomcat 4.0.
In Tomcat 4.0 you cannot define the <Resource> and <ResourceParams> higher, ie <Host>. And to copy everything over and over again is not an option.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.