Why not use something like iBATIS to eliminate the need for connection management?
Here is a tutorial on using struts with iBATIS: http://www.reumann.net/struts/ibatisLesson1.do Larry On Tue, 11 Jan 2005 22:10:20 -0800 (PST), <[EMAIL PROTECTED]> wrote: > I am still new to struts and even servlets. Last time when i developed > servlets, i created one common class method to get the connection (with > regular JDBC call). All database related parameters i stored in a constant > variable file. > > Now in struts i found out that we can specify the datasource inside > struts-config.xml. > > I want to know which methodology is better ? Can i continue with my existing > method ? or struts database method is better ? > > regards > Manisha > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]