• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts: Cannot find bean manageForm in

 
Nicolas Flammel
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting this exception ehrn I try to load the jsp with the form name as manageForm....

javax.servlet.jsp.JspException:Cannot find bean manageForm in
any scope

I have a form named manageForm and have also defined the form Bean(ManageForm.java) in the struts-config.xml file as
<form-beans>
<form-bean name="manageForm" type="com.abc.presentation.form.ManageForm"/>
</form-beans>

In my jsp file I have a html:text box which consults the manageForm bean property as:
<html:text name="manageForm" property="name" size="20" maxlength="60">
</html:text>

Any fix for this would be appreciated.
Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic