hello all

        am newbie to struts . am developing a login application . this is my
java package structure 

              Action - Helper - DAO  . my ActionClass calls Helper method
and it'll call DAO method for accessing database . is this correct???
  
       and i've gone through <data-sources> with struts. and i've seen an
example of this.

       javax.sql.DataSource dataSource;
       java.sql.Connection myConnection=null;

       dataSource = getDataSource(request);
       myConnection = dataSource.getConnection();
          
       where should i use this, this should be in ActionClass or it can be
in DAO. give me an idea to implement this . 
       thanks in advance



-- 
View this message in context: 
http://www.nabble.com/struts-data-source-tp21011491p21011491.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to