2008/12/15 m.harig <m.ha...@gmail.com>:
>       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 .

In action, but you shouldn't use that, it's deprecated solution,
instead implemented Hibernate or JPA layer.


Regards
-- 
Lukasz
http://www.lenart.org.pl/

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

Reply via email to