| Author |
Cannot retrieve definition for form bean HtmlFileForm error??
|
john mattucci
Ranch Hand
Joined: Nov 03, 2000
Posts: 331
|
|
javax.servlet.ServletException: Exception forwarding for name index: javax.servlet.ServletException: Cannot retrieve definition for form bean HtmlFileForm org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800) the following is my struts-config file <form-beans> <form-bean name="HtmlButtonForm" type="ch12.HtmlButtonForm"/> </form-beans> <global-forwards> <forward name="index" path="/Logon.do"/> </global-forwards> <action-mappings> <action name="HtmlFileForm" path="/Logon" scope="session" forward="/logon.jsp"/> <action name="HtmlFileForm" path="/LogonSubmit" scope="session" type="ch12.LogonAction" validate="false"> <forward name="success" path="/setUpForm.do"/> <forward name="failure" path="/Logon.do"/> </action> <action name="HtmlFileForm" path="/setUpForm" scope="session" type="ch12.SetUpAction" validate="false"> <forward name="continue" path="/HtmlFile.do"/> </action> <action name="HtmlFileForm" path="/HtmlFile" scope="session" type="ch12.HtmlFileAction" validate="false"> <forward name="default" path="/HtmlFile.jsp"/> </action> Thank you
|
 |
john mattucci
Ranch Hand
Joined: Nov 03, 2000
Posts: 331
|
|
|
realized my stupid mistake
|
 |
Jdidi Adil
Greenhorn
Joined: Feb 10, 2004
Posts: 1
|
|
you must have the following: <form-beans> <form-bean name="HtmlFileForm" type="ch12.HtmlFileForm"/> </form-beans> in your struts-config.xml
|
 |
 |
|
|
subject: Cannot retrieve definition for form bean HtmlFileForm error??
|
|
|