Struts is looking for the action form defined for the "/kiosk" action (since
that is what the <html:form> submits to on your page. The action or action
form does not exist, so you get the error of Struts looking for the "null"
action form.

Use a regular HTML <form> tag to evade that issue, or define the stuff for
your "/kiosk" action.

-Max

----- Original Message ----- 
From: "ajay brar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 07, 2003 9:30 PM
Subject: Cannot retrieve definition for form bean null


> hi!
> i had heard that a form bean for a form was optional, not sure why i am
> getting this error here.
> i have a button on a page and it goes like
> <html:form action="/kiosk">  browse kiosks <html:submit
> value="Submit"/></html:form>
> in my struts-config.xml i have defined the following action mapping
> <action     path="/kiosk"
>                 type="KioskAction"
>                 scope="request">
>              <forward name="success"    path="/kiosk.jsp" />
>     </action>
>
> could someone please help with this error.
>
> thanks
> cheers
> ajay
>
> _________________________________________________________________
> Chat via SMS. Simply send 'CHAT' to 1889918. More info at
> http://ninemsn.com.au/mobilemania/MoChat.asp?blipid=6800
>
>
> ---------------------------------------------------------------------
> 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