Quick question. I see that one can configure a JDBC datasource in their server.xml
file and their web.xml file. What does this get you? Every example that I have read
tells me that I need to open a JDBC connection just about the same as I would from any
other java application.
What is the
Hi!
Hart, Justin wrote:
Quick question. I see that one can configure a JDBC datasource in their server.xml file and their web.xml file.
What does this get you? Every example that I have read tells me
that I need to open a JDBC connection just about
the same as I would from any other java
Ok, so, how does one access this datasource from tagsupport?
Justin
-Original Message-
From: Philipp Taprogge [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 16, 2003 2:24 PM
To: Tomcat Users List
Subject: Re: JDBC from TagSupport
Hi!
Hart, Justin wrote:
Quick question. I see
[EMAIL PROTECTED]
cc:
Subject:RE: JDBC from TagSupport
Ok, so, how does one access this datasource from tagsupport?
Justin
-Original Message-
From: Philipp Taprogge [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 16, 2003 2:24 PM
To: Tomcat Users List
Subject: Re
Czajkowski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 16, 2003 2:37 PM
To: Tomcat Users List
Subject: RE: JDBC from TagSupport
i have it setup for sybase and mine looks like this in the server.xml:
-
Context path
]
cc:
Subject:RE: JDBC from TagSupport
Gotcha, so the datasource gets stuck into a naming directory, and then you
can grab it via JNDI and use it that way.
The benefit being that a sysadmin can change the datasource via server.xml
rather than having you rewrite the code
Cool, thanks.
-Original Message-
From: Alan Czajkowski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 16, 2003 2:44 PM
To: Tomcat Users List
Subject: RE: JDBC from TagSupport
affirmative,
but instead of looking at my proprietary example below .. goto the Tomcat
Documentation under