[opencms-dev] how connect to database from jsp ?

Steve steve.welsh at redplanetuk.com
Mon Nov 15 11:33:14 CET 2004


Yes, I suppose you could.  Sorry, I thought you wanted to use a separate
database for your jsp application, rather than use the OpenCms one.  I
prefer to use a separate database whenever possible for any client
specific application - I find it makes upgrades and deployments much
simpler.

Steve,

REDPlanet Technologies Ltd,
Salters House, Salters Lane Ind. Est., Sedgefield, Stockton-on-Tees,
TS21 3EE

www.redplanetuk.com
Tel +44 (1740) 625222 


-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Mark
Sent: 15 November 2004 10:23
To: opencms-dev at opencms.org
Subject: [opencms-dev] how connect to database from jsp ?

I'm using Tomcat 4.1.30. Opencms itself uses a pooled connection 
implementation
to connect the database in order to respond to all the http request that

need a db
access, isn't it? DBC may be? So, from the source code of Opencms is 
possible
to find a piece of code which show how to get a pooled connection from 
the pool
created by Opencms? Finally I could use that piece of code and put it in

my JSP
new page, right?

Thank's!

Marco.



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://mail.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list