<data-sources/> will be removed in Struts 2.X (aka Jericho) see: http://struts.apache.org/faqs/database.html and Wiki for Struts2.X: http://wiki.apache.org/struts/StrutsJericho
Hope that helps you. Regards, Matthias > -----Original Message----- > From: Tom Holmes Jr. [mailto:[EMAIL PROTECTED] > Sent: Monday, September 06, 2004 6:13 PM > To: Struts Users Mailing List > Subject: Data Sources > > > I was just curious .... > > I am using Apache 2.0.50 JK2 (2.0.2) and Tomcat 4.1.30 on > Windows 2000 > for now, and I hope to port this all to Linux in the future. > > Before I started using struts, I was putting the database > resource into > the Tomcat server.xml configuration file, and then it also > had to be in > the web.xml file for a web-app. I am doing this now, and it > seems to be > working just fine for my first Struts application. > > Now, I can see that there is a way of configuring a datasource within > the struts-config.xml configuration file. I'm not doing this now, I > don't see the need. Maybe it only needs to be in this config > file if I > plan on using the <sql> tags? > > Is there some reason why I should put this datasource > information in the > struts-config.xml file over the way I am currently doing it? > > Thanks. > > Tom > > --------------------------------------------------------------------- > 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]