On 13/12/2010 20:40, Christopher Schultz wrote:
> Mark,
>
> On 12/13/2010 3:21 PM, Mark Eggers wrote:
>> In order to use the resource, you'll need to tell your application about it
>> (resource-ref in web.xml), and create it (Resource in context.xml or
>> server.xml). Where you put the creation de
ng line in
my hibernate.cfg.xml file:
java:comp/env/jdbc/jndi-name
- Original Message
From: Christopher Schultz
To: Tomcat Users List
Sent: Mon, December 13, 2010 12:40:16 PM
Subject: Re: How to configure JNDI resource
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 12
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 12/13/2010 3:21 PM, Mark Eggers wrote:
> In order to use the resource, you'll need to tell your application about it
> (resource-ref in web.xml), and create it (Resource in context.xml or
> server.xml). Where you put the creation depends on
Abid,
The resource-ref element in web.xml describes an external resource to your web
application.
The Resource element in either context.xml or server.xml describes to Tomcat
how
to create the resource being accessed by your web application.
The first (resource-ref) is part of the standard. T
This is how we do it in a spring app, with a resourcelink in context.xml
conf/server.xml
META-INF/context.xml
WEB-INF/applicationContext.xml
-Original Message-
From: Abid Hussain [mailto:dilax.huss...@googlemail.com]
Sent: Tuesday, 14 December 2010 5: