This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Formbean exception
 
Similar Threads
Please help me ..
MBeanServer is not available
Cannot find bean under name org.apache.struts.taglib.html.BEAN
Please help me ..
ForwardAction error