Hi Ravi

The action attribute of your form tag points to the path for your action.

By using this action path, Struts finds the action and then the form bean
(subclass of ActionForm) (if any) associated with this action (through name
attribute in struts-config.xml).

So you can invoke your action without having a form bean. You could "sniff"
the request object in your action to get the parameters and attributes
passed along with the request.

But why don't you just use a form bean for intercepting the results of
pressing either the Yes or No button. IMO it is "cleaner" and done the
"Struts way".

Sorry if I misunderstood your quuestion..

Regards

Henrik


----- Original Message ----- 
From: "Ravi Kulkarni" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, December 09, 2003 10:37 AM
Subject: Action Mapping - without formbean


>
> Hi All,
>
> I have a form with yes/no buttons. I want to use <html:form tag but do not
> want to map to any Formbean. How can I do that?
>
>
> Thanks in advance.
>
> Kulkarni.
>
>
> ---------------------------------------------------------------------
> 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