Hi,
I have written in the file struts-config.xml a bean with scope="page". This
bean inherits from ValidatorForm. If I overwrite the request method and I
set
all the attributes of the bean to null then, after having populated the
bean in a form when I use it again in the same page, the values have a null
value.
But if I donīt overwrite the reset method after having populated the bean,
when
I return to the same form where I have previously populated the bean it
keeps
the same values. Even if I stop tomcat this bean keeps without change the
values of
the atributes.
The only way of making the bean dissapear is opening a new explorer window.
Why is this happening?
What lifetime does a bean have with scope="page"?
Without a reset method a bean with page scope behaves equally to a bean
with a sesion scope?

Best Regards


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to