Have you coded the reset() method in your form?
If so, struts will call it between requests even if your session is set to
scope. You can make the reset smart by wrapping the contents of you reset
method in:
if (!"session".equals(mapping.getScope())) {//reset stuff here...}
the body of the if statement will only perform the functions in the body if
the scope is not session.
Hope this helps.
D
-----Original Message-----
From: Vaibhav Patil [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 4:35 AM
To: '[EMAIL PROTECTED]'
Subject: Bean property getting vanished from scope
Hello,
I have a bean having array of objects.
I am using that object for iterate tag. Its displaya the table correctly.
But once I submit the tag and go to next page, I trying again to display
the same thing, but it says no collection found. The scope I have given is
session.
Also I tried by removing set methid for the particular property thinking
there might be problem in set method.
But seems to be something different.
Can anybody focus some light on this??
Thanks,
Vaibhav