It's not a secret anymore!
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


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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Formbean exception
 
It's not a secret anymore!