On Wed, Apr 17, 2013 at 10:38 PM, Leo Donahue - RDSA IT < leodona...@mail.maricopa.gov> wrote:
> > ________________________________________ > From: Jakub 1983 [jjaku...@gmail.com] > Sent: Wednesday, April 17, 2013 7:26 PM > To: Tomcat Users List > Subject: explanation of resource-ref in web.xml > > What the hell is <resource-ref> in web.xml used for ? > ******************************************** > > I use it in a context, to define a <Resource> such as a database > connection. > > There is an example here: > http://tomcat.apache.org/tomcat-7.0-doc/jndi-datasource-examples-howto.html#MySQL_DBCP_Example > > I saw your first email to the list, and then after your 2nd separate email to the list, I searched google for the following: tomcat resource-ref web.xml [1] and found many search results that should get you on your way. Of which, I found [2], [3], [4], [5] [1] http://lmgtfy.com/?q=tomcat+resource-ref+web.xml [2] http://www.mulesoft.com/tomcat-mysql [3] http://www.mkyong.com/tomcat/how-to-configure-mysql-datasource-in-tomcat-6/ [4] http://stackoverflow.com/questions/2887967/what-is-resource-ref-in-web-xml-used-for [5] http://stackoverflow.com/questions/9078511/resource-ref-usage-in-web-xml-with-tomcat-5-5-and-spring