Did you put scope=session on both action mappings? -----Original Message----- From: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED] Sent: 26 February, 2003 08:31 To: Struts Users Mailing List Subject: [Q] BEAN SCOPE
Hi, I am trying to figure out what can be the problem in my struts-config from yday, will anyone tell me what can be the problem if, I am putting scope="session" in my action-mapping and trying to access same formbean from two different actions. Once the bean is created, it should be there for the session, and when I move to next jsp and call another action it should use same bean rather than creating a new one. I know itz creating new bean, coz I have put default constructor in my formbean and am printing System.out.printing() through constructor. Regards Chetan _______________________________ | | The trouble with being punctual | is that nobody's there to appreciate it. | | |_______________________________ ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official business of Standard Bank Group Limited is proprietary to the company. It is confidential, legally privileged and protected by law. Standard Bank does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of Standard Bank. The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way. Standard Bank can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference. ______________________________________________