JDBC from TagSupport

2003-12-16 Thread Hart, Justin
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

Re: JDBC from TagSupport

2003-12-16 Thread Philipp Taprogge
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

RE: JDBC from TagSupport

2003-12-16 Thread Hart, Justin
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

RE: JDBC from TagSupport

2003-12-16 Thread Alan Czajkowski
[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

RE: JDBC from TagSupport

2003-12-16 Thread Hart, Justin
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

RE: JDBC from TagSupport

2003-12-16 Thread Alan Czajkowski
] 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

RE: JDBC from TagSupport

2003-12-16 Thread Hart, Justin
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