How to Configure a DataSource in Struts 2.X

2010-05-31 Thread VR Venugopal Rao
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

Re: How to Configure a DataSource in Struts 2.X

2010-05-31 Thread aum strut
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.vell...@cmcltd.com wrote: Dear All, How do we configure