Hi Amit Gupta For DB connections u can create your own class i.e with respect to DAO Pattern where in this class is dedicated to only manipuation of database. so in the action class u can get the connections by calling connection method in own class which gives connection and even u can send data to own class for manipulations. Regards Naveen.
[EMAIL PROTECTED] wrote: ------------------------ Yahoo! Groups Sponsor --------------------~--> $4.98 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/5cFolB/TM --------------------------------------------------------------------~-> There are 4 messages in this issue. Topics in this digest: 1. Hi all From: Jorge Martín Cuervo 2. Re: prevent reset of bean after submit From: struts lover 3. RE: DB Connection Best practice From: Manisha Sathe 4. Struts for beginners From: "Krishna Mohan Radhakrishnan" ________________________________________________________________________ ________________________________________________________________________ Message: 1 Date: Sat, 25 Dec 2004 12:05:07 +0100 From: Jorge Martín Cuervo Subject: Hi all Hi all, Is a test to check if my subscription was correctly. Ignore please. ------------------------------- Jorge Martin Cuervo [EMAIL PROTECTED] +34 660 026 384 ------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ________________________________________________________________________ ________________________________________________________________________ Message: 2 Date: Sat, 25 Dec 2004 08:14:41 -0800 (PST) From: struts lover Subject: Re: prevent reset of bean after submit If you have your reset method empty, I dont think it will reset your form. --- sachin wrote: > hi all , > > On submit of a form , struts resets the bean before > populating the form . > For that perticular action can i stop the resetting > of bean ? > > in my application i need to pupulate one bean from > two forms . > It has following structure :- > JSP pages - First.jsp , Second.jsp > Actions - FirstAction.java , SecondAction.java > which refer to same CommonBean. > > the commonBean is first populated from First.jsp > then it is forwarded to Second.jsp to populate the > remaining fields .. > But here the commonBean gets resetted ... > I tried to override reset action in CommonBean with > a blank method .. but it > not doing .. > > any help is appreciated > Thanks in advance > > Regards, > Sachin Hegde > Software Developer > Paradyne Infotech Limited > Mumbai > 022-38546711 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ________________________________________________________________________ ________________________________________________________________________ Message: 3 Date: Sat, 25 Dec 2004 21:46:16 -0800 (PST) From: Manisha Sathe Subject: RE: DB Connection Best practice Hi Amit, Would appreciate if u can forward the same msg again to me too. As i am also a struggler i also might need it Thanks, Manisha Amit Gupta wrote: Hi Uma, I use DBCP for this. Refer my message that I posted an hour ago on tomcat users list. I am forwarding same to you on your personal ID. -----Original Message----- From: uma.k [mailto:[EMAIL PROTECTED] Sent: Friday, December 24, 2004 10:20 AM To: 'Struts Users Mailing List' Subject: DB Connection Best practice Hi, I wanted to insert a record into the database or update a record in the database or get a record from the database. Where do I make my database connection? Is it in the Action class? Can I make a single java class handle all of that for me? If the above are wrong. Please let me know which is the best practice to do this. Thanks Uma --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [This message contained attachments] ________________________________________________________________________ ________________________________________________________________________ Message: 4 Date: Sun, 26 Dec 2004 12:44:51 +0530 From: "Krishna Mohan Radhakrishnan" Subject: Struts for beginners Hi, I am just a beginner in STRUTS. Could u point out any book(especially PDF files of the book) which is intented for just the beginners which contains explanation of all the tags attributes properties etc. If any body has a pdf file for the same please send it to this ID or to [EMAIL PROTECTED] Regards, Krishna Mohan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ________________________________________________________________________ ________________________________________________________________________ ------------------------------------------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/struts/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ ------------------------------------------------------------------------ --------------------------------- Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. Learn more.