You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Venkata Phani Kumar <ve...@ocimumbio.com> on 2006/11/09 11:51:32 UTC

How to use Jboss datasource in struts-config.xml

Hi,
    I have created a datasource which will bind to a jndi name. Now i want to use the same datasource in my struts application. For this i need to mention the same jndi name in my struts-config.xml. 

can any body help me out how to mention the jndi name in struts-config.xml

Thanks & Regards,
Venkata Phanikumar. G

Re: How to use Jboss datasource in struts-config.xml

Posted by Antonio Petrelli <ap...@apache.org>.
Venkata Phani Kumar ha scritto:
> Hi,
>     I have created a datasource which will bind to a jndi name. Now i want to use the same datasource in my struts application. For this i need to mention the same jndi name in my struts-config.xml. 
>
> can any body help me out how to mention the jndi name in struts-config.xml
>   

Since you are already using JNDI, I don't see the need to declare it in 
struts-config.xml. DataSource support has been removed in Struts.

Ciao
Antonio

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