Re: Struts Flow in JSP,Servlets Project

2009-06-17 Thread Jim Kiley
RTFM is an English acronym best summarized as "please read the documentation." By service routines what he means is this: Instead of writing an Action code that has your DB access code directly in it, write a service class that has DB access code in it, and have your actions call the service class

Re: Struts Flow in JSP,Servlets Project

2009-06-16 Thread sprani.kmraj
Dear volker, Thank you so much. This is what i expected... Now i understood the things. Can u please tell me that, what you r mean by service routines & RTFM. U r telling that DB access code should be in Action class, right So, where the Prepared statements should be in? what are all the thi

Re: Struts Flow in JSP,Servlets Project

2009-06-16 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, 1) your submit button should submit to some action defined in struts.xml. 2) your action class is called (if you have not specified any other, "execute" is called. 3) the result of your action specifies, which jsp is called next your code for acc

Struts Flow in JSP,Servlets Project

2009-06-16 Thread sprani.kmraj
Dear All, GoodDay...! Im beginner for Struts programming. I hv started developing a Struts project. I have many doubt can u please clarify my doubt i have a jsp page which contains the input data(name & password). When i click the submit button, data will have to store in the database. i