commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marius Seiceanu <marius.seice...@sec.co.ro>
Subject DBCP:
Date Fri, 24 Oct 2003 14:48:12 GMT
Hello,

    On  http://jakarta.apache.org/struts/faqs/database.html  I found out 
how to use BasicDataSource.
    The problem is that in some classes of my application (under Tomcat 
context) which is using Struts i don't have access to request, so i 
can't use:
          dataSource = getDataSource(request);

    Is there any possibility to configure struts to put automaticaly the 
BasicDataSource instances on a JNDI context, so I can get them later, 
from classes under the same Tomcat context?

Thank you,
    Marius Seiceanu.



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message