Whoops.  I had been trying to do that, but did not make the mental leap 
that I am defining the formbean in the struts-config file...

I had been trying to do a remove by using the ActionForm passed to the 
Actionclass, but could not figure out how to do that. 

This worked fine - I thousand thanks

Bill





-----Original Message-----
From: jjames [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 26, 2001 12:43 PM
To: struts-user
Subject: Re: How do I remove a formBean?


Have you tried putting

session.remove( "beanName" );

in the action that displays the form?

-Jonathan

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 21, 2001 1:16 PM
Subject: How do I remove a formBean?


>
> I have an app that shows a form which goes to an actionform object.  
If
> its all okay, it goes to a preview screen and then if you click okay 
it
> goes onto a save actionclass that saves the info.  The problem is that 
I
> cannot get it to forget about the formbean when you go back through to
> do a second one.
>
> I tried playing with the scope settings to request, but then it 
forgets
> everything if you need to go back from the preview page.
>
> Any ideas?  I know it cannot be that hard, but I cannot find anything 
in
> the api or docs.
>
> Thx
>
>
>
> Bill Chmura
> Ensign-Bickford Industries, Inc.
> Information Technologies Department
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>
>


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



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

Reply via email to