This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I'm trying to learn how to put a web-app together using Struts.1. I have some questions about where the connectivity to the database should go. 2.Using DynaActionForm in struts. anyone to know this please help me...
See coming to DB struts has nothing to do with but its always better not to put much logic in ur a ction class so its better to isolate the DB connectivity from the action and place in any utility class
coming to DynaActionForms there is a tradeoff .....this reduces the writing of form class but now u have many IDEs which gen set and get methods and that too in the future if u need to change some field changing in xml needs restart of webserver while its not in the case of ActionForm