I have written default constructor in my form bean and there is a System.out.println() call . so if constructor is getting called i get a message out on console.
----- Original Message ----- From: "Sri Sankaran" <[EMAIL PROTECTED]> To: "Chetan Sahasrabudhe" <[EMAIL PROTECTED]> Sent: Tuesday, February 25, 2003 7:50 PM Subject: RE: HELP - SOS - Single Form Bean Problem > What is the symptom that you are seeing that makes you believe that a new object is being instantiated for each action? > > Sri > P.S. > You will probably get a more prompt response by posting to struts-user. > > -----Original Message----- > From: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 25, 2003 12:22 AM > To: Sri Sankaran > Subject: Re: HELP - SOS - Single Form Bean Problem > > > Hi Sri: > > Please find attached struts-config along with this mail, I am reffering to the formbean with same names everywhere, and still not able to find the problem. > > Regards > Chetan > ----- Original Message ----- > From: "Sri Sankaran" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Monday, February 24, 2003 7:54 PM > Subject: RE: HELP - SOS - Single Form Bean Problem > > > A possible cause of this symptom is that you are referring to the bean by a different name in the various locations. When using a form-bean 'fruit', Struts looks in the request/session for an object with key 'fruit'. If you want the same instance to be reused it has to be referred to as 'fruit'. > > Sri > > -----Original Message----- > From: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED] > Sent: Monday, February 24, 2003 6:34 AM > To: Struts Users Mailing List > Subject: HELP - SOS - Single Form Bean Problem > > > Has anyone used a single form bean for multiple jsps? > I am trying to use it and have set form scope as session in my action declaration in config-struts file worst part is, for every jsp itz creating a new form bean ? > > whatz the catch, can anyone help me in this ? > > Regards > Chetan > _______________________________ > | > | The trouble with being punctual > | is that nobody's there to appreciate it. > | > | > |_______________________________ > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]