You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by daniel blanco cuadrado <li...@hotmail.com> on 2006/11/20 15:50:31 UTC
where is ??
the first, is that my english is very bad.
Second, how to configure <data-source> in struts 1.3.5 whit
http://struts.apache.org/dtds/struts-config_1_3.dtd ????.
I know that prevously was in struts-config.xml, but now I dont know . where
configure it ?
Thank very much at all.
_________________________________________________________________
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en
MSN Motor. http://motor.msn.es/researchcentre/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: where is ??
Posted by Ted Husted <hu...@apache.org>.
The internal Struts datasource is no longer supported. Instead, use
something like DBCP from the Jakarta Commons.
* http://jakarta.apache.org/commons/dbcp/
-- HTH, Ted.
* http://www.husted.com/struts/
On 11/20/06, daniel blanco cuadrado <li...@hotmail.com> wrote:
> the first, is that my english is very bad.
>
> Second, how to configure <data-source> in struts 1.3.5 whit
> http://struts.apache.org/dtds/struts-config_1_3.dtd ????.
>
> I know that prevously was in struts-config.xml, but now I dont know . where
> configure it ?
>
> Thank very much at all.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: where is ??
Posted by Antonio Petrelli <ap...@apache.org>.
daniel blanco cuadrado ha scritto:
> the first, is that my english is very bad.
>
> Second, how to configure <data-source> in struts 1.3.5 whit
> http://struts.apache.org/dtds/struts-config_1_3.dtd ????.
>
> I know that prevously was in struts-config.xml, but now I dont know .
> where configure it ?
DataSource support under Struts has been removed, so you have to declare
it in some other way.
The simplest way to use a DataSource is using JNDI:
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
Ciao
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org