Hi Craig,
I'm very glad to recieve an e-mail from you. I keep following your
interviews in www.theserverside.com . Well I didn't know that Struts
DataSource concept has been deprecated. I've been using Weblogic from so
many years and it's very easy to configure datasources and connection pools
in W
On 4/2/06, Tarun Reddy <[EMAIL PROTECTED]> wrote:
>
> Could you please try not to configure your data source in Tomcat? Instead
> try to configure your datasource only in struts-config.xml file as I've
> mentioned. It should work. Please get rid of the JNDI lookup code from the
> JSP and use the ge
Tarun Reddy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Sunday, April 02, 2006 10:47 AM
Subject: Re: How to configure Struts connection pool
> Could you please try not to configure your data source in Tomcat? Instead
> try to configure your datasource o
Could you please try not to configure your data source in Tomcat? Instead
try to configure your datasource only in struts-config.xml file as I've
mentioned. It should work. Please get rid of the JNDI lookup code from the
JSP and use the getDataSource(request) method which is very intelligent
enough
when I start Tomcat,it raise following error:
New org.apache.commons.dbcp.BasicDataSource
Begin event threw exception
java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource
at org.apache.catalina.loader.WebappClassLoader.loadClass (
WebappClassLoader.java:1352)
at org.apache.cata
Hi,
First of all we need not use "key" attribute in tag until we
have more than one data source to be configured. So, try removing the "key"
attribute and use the getDataSource() method which is already defined in
DBCP.
DataSource db = getDataSource(request);
You need not worry about all the nam
I use struts-1.2.9,and want to configure a connection pool,so I configure
struts-config.xml file
Then I use this configure in a jsp file,like follows:
<[EMAIL PROTECTED] import="java.sql.*"%>
<[EMAIL PROTECTED] import="javax.sql.DataSource"%>
<[EMAIL PROTECTED] impor
7 matches
Mail list logo