struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aum strut <aum.str...@gmail.com>
Subject Re: How to Configure a DataSource in Struts 2.X
Date Mon, 31 May 2010 16:59:53 GMT
There is no direct support for Data source in struts2 and as for your point
action classed are a mean of Model and its never preferred to use such
configuration at this level.



On Mon, May 31, 2010 at 5:30 PM, VR Venugopal Rao <
venugopal.vellore@cmcltd.com> wrote:

> Dear All,
> How do we configure a Datasource in Struts 2.X.
> 1. Do we put Driver and url in the Action Class file or
> 2. Do we configure the Driver and Url in the Web.xml or
> 3. Do we configure in struts.xml instead of web.xml.
>
> A Small example would be helpful.
> Regards,
> VR Venugopal Rao
>
>
>
>
> ______________________________________________________________________________
>
> DISCLAIMER
>
> The information contained in this e-mail message and/or attachments to it
> may
> contain confidential or privileged information. If you are not the intended
> recipient, any dissemination, use, review, distribution, printing or
> copying
> of the information contained in this e-mail message and/or attachments to
> it
> are strictly prohibited. If you have received this communication in error,
> please notify us by reply e-mail or directly to netsupport@cmcltd.com or
> telephone and immediately and permanently delete the message and any
> attachments. Thank you.
>
>
>
> ______________________________________________________________________________
>
> This email has been scrubbed for your protection by SecureMX.
> For more information visit http://securemx.in
>
> ______________________________________________________________________________
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message