Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JDBC Problem

Status
Not open for further replies.

dennisGuru

Programmer
Sep 14, 2001
37
NL
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???

thnx
 
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.

Yours sincerely,
Dennis.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top