Perhaps your form implements reset()?

Rick DeBay

On Fri, 27 Feb 2004 05:06 , Niall Pemberton <[EMAIL PROTECTED]> sent:

>Without seeing your jsp/struts-config.xml/action its a bit of a guessing
>game.
>
>I'm a bit confused by you saying "...at this point, I set up this form bean
>as session scope". To me this implies your getting a form not in session
>scope (i.e. request) and saving it yourself in session scope. If that is the
>case - then maybe thats your problem - if the struts-config.xml says its
>request, thats where struts will look for it and, if it doesn't exist, it'll
>set a new one up in  request scope (even if you already have one under the
>same name in session).
>
>If I've got it wrong, then maybe you could explain further. I'm also not
>clear whether your finding out your form has been 'wiped' as soon as you get
>into your action and before you "set it up as session scope" or after that
>when you get to your detail screen. Could you clarify that as well please.
>
>
>Niall
>----- Original Message ----- 
>From: "Betty Koon" [EMAIL PROTECTED]>
>To: "'Struts Users Mailing List'" [EMAIL PROTECTED]>;
>[EMAIL PROTECTED]>
>Sent: Friday, February 27, 2004 3:41 AM
>Subject: RE: Problem with loss form (session scope)
>
>
>> Well, sorry for being vague.  It's a very vague problem, that's why it's
>> very difficult to explain the details.  This only happen to one of my
>> action.  I had a list inside a form.  And one of the column render a link
>to
>> the detail page.  But I need to do some processing before I redirect to
>the
>> detail.  So I wrote the link to do a form post it back to the caller
>action.
>> In that case, I can collect some information, at this point, I set up this
>> form bean as session scope.  But everytime the post happened, it seems
>like
>> the form content got wiped out.
>>
>> -Betty
>
>
>
>---------------------------------------------------------------------
>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