Configure a JNDI data-source. Different application servers do it
differently.

regards,
vijay.

> -----Original Message-----
> From: M4RC0 [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 18, 2005 4:22 PM
> To: Struts Users Mailing List
> Subject: Load datasource config without action classes
>
>
> Hi
> i'm thinking about loading struts-config datasources configuration
> directly to my business classes, but i appears to be necesary to use
> action clases (by calling getDataSource method). is it  possible to
> use a load-on-startup servlet to get struts configured datasources (or
> something similar, instead action clases)??
> I really like the form how struts configure databases but i preffer to
> link those databases directly to my business tier.
>
> I'm opened to other options instead :)
>
> Any idea? thanks all!
>
> --
> M4RC0
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to