You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Oguz Kologlu <oz...@optushome.com.au> on 2003/07/27 15:42:18 UTC

Action with no associated form bean?

Hi all,

I'm having some problems getting a form that has no associated form bean to
display.

It's  basically a logout form with no fields that calls a logout action but
has no form values so doesn't require a form bean - yet it seems you must
have a form bean to call an action.

Is this the case? Is there another solution around this or do I have to
create a dummy form bean / dynaform to call the action?


Thanks
Oz


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Action with no associated form bean?

Posted by Alex Shneyderman <al...@law.columbia.edu>.
You do not have to have a form to call an action.
You have not stated your problem. What is the problem
you encountered?



> -----Original Message-----
> From: Oguz Kologlu [mailto:ozkologlu@optushome.com.au]
> Sent: Sunday, July 27, 2003 9:42 AM
> To: Struts-User
> Subject: Action with no associated form bean?
> 
> Hi all,
> 
> I'm having some problems getting a form that has no associated form
bean
> to
> display.
> 
> It's  basically a logout form with no fields that calls a logout
action
> but
> has no form values so doesn't require a form bean - yet it seems you
must
> have a form bean to call an action.
> 
> Is this the case? Is there another solution around this or do I have
to
> create a dummy form bean / dynaform to call the action?
> 
> 
> Thanks
> Oz
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org