Caroline-

I can't speak for clear vs. reset, but if you look at the default implementation of reset(...), it doesn't do anything - you have to override it in your form bean to have it do anything.

However, if you want to persist the data, you can set an attribute on the session and it will be available everywhere.

Hope that helps.

-Adam

Caroline Jen wrote:
When a session ends, all data submitted have to be
cleared.

My form bean is in a session.  I want to re-use the
submitted data during the session.

It seems that if I have the 'reset' method in my form
bean, the submitted data are lost when I want to
re-use the data.
What are the differences between the 'clear' method
and the 'reset' method?

Thanks for your advice.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to