Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot retrieve definition for form bean null

Status
Not open for further replies.

ajaybrar

Programmer
Oct 2, 2003
9
AU
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=&quot;/kiosk&quot;> browse kiosks <html:submit value=&quot;Submit&quot;/></html:form>
in my struts-config.xml i have defined the following action mapping
<action path=&quot;/kiosk&quot;
type=&quot;KioskAction&quot;
scope=&quot;request&quot;>
<forward name=&quot;success&quot; path=&quot;/kiosk.jsp&quot; />
</action>

could someone please help with this error.

thanks
cheers
ajay
 
You are right that a form bean for a form is optional, however the html:form tag I suspect will look for a form bean. Just use the html form tag instead.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top