I know its frustrating, but let's keep this on struts-users side where it belongs.
 
 


--
James Mitchell
Software Engineer/Struts Evangelist


-----Original Message-----
From: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 5:13 AM
To: Struts Developers List
Subject: [Q] FORM BEAN SCOPE

All you ppl who have developed struts, can you please help me in this problem.
I have asked this question on struts mailing list, but no one is giving me
answer to this.
 
I have session scope in both action mappings
I have attached my struts-config along with this mail.

btw in my jsp i have form bean saying

JSP 1
<html:form action="" focus="sOMName" onsubmit="return
validateWIGAdminWizardForm(this);">

JSP 2
<html:form action="" onsubmit="return
validateWIGAdminWizardForm(this);">


now, when I call jsp1 the bean is getting created
but when I move to jsp 2 , again new bean is created. I know this coz I have written default constructor in
my FormBean class and printing a message in it by System.out.println()

And thatz the problem area.

Thanks
Chetan
Regards
Chetan
_______________________________
|                                                             
|     The trouble with being punctual
|      is that nobody's there to appreciate it.
|    
|    
|_______________________________

 

Reply via email to