You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Fred Schroomnig <sc...@netscape.net> on 2001/12/07 13:50:04 UTC

Setting up a DB

Hi All, 

I'm pretty new at using Tomcat and related Technologies, I have one hope fully small question. Where do I set up my Datasource in Tomcat so that I can retrieve it from my JSP using a jndi lookup? 
I'm assuming that this is done somewhere in the server.xml file, but what are the Tags I need to use? Is there a DTD available anywhere?

Thanks in advance and sorry if this is 'Basic' question,

Fred
-- 




__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Setting up a DB

Posted by David Smith <dn...@cornell.edu>.
Take a look at this how-to at the jakarta web site:

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html

--David

On Friday 07 December 2001 07:50 am, you wrote:
> Hi All,
>
> I'm pretty new at using Tomcat and related Technologies, I have one hope
> fully small question. Where do I set up my Datasource in Tomcat so that I
> can retrieve it from my JSP using a jndi lookup? I'm assuming that this is
> done somewhere in the server.xml file, but what are the Tags I need to use?
> Is there a DTD available anywhere?
>
> Thanks in advance and sorry if this is 'Basic' question,
>
> Fred

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>