Im delevoping a struts project of my own.
Having doubt in database connection.
Actually where i have to write code for connection,
there itself my doubt starts....
whether i hv to write a connection code in
(1) execute method in Action class, OR in
(2) servlets, OR in
(3) seperate DAO class
Please clarify my doubt.
Servlet is needed or not while using struts.
Java bean class is needed or not while using struts.
U can reply here or reply to my mail([snipped]).
I have refer many books. But i didnt get the answer to the point.
Im using netbeans.