This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Struts and the fly likes Formbean exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Formbean exception" Watch "Formbean exception" New topic
Author

Formbean exception

aresh babu
Ranch Hand

Joined: Aug 31, 2008
Posts: 65
When i tried to move from employeregistration.jsp to employerprofile.jsp i am getting this exception

org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot retrieve definition for form bean null on action /editemployerprofile
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

How can i overcome this exception?

Thanks & Regards,
Areshbabu
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You've probably either not defined a form bean or spelled the name of the bean incorrectly.

Searching the web for "Cannot retrieve definition for form bean null on action" returns many sources of information regarding this error.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Formbean exception
 
jQuery in Action, 3rd edition