aspose file tools
The moose likes Struts and the fly likes Getting an Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Meteor in Action this week in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Getting an Exception" Watch "Getting an Exception" New topic
Author

Getting an Exception

Jay Shukla
Ranch Hand

Joined: Jun 08, 2008
Posts: 214
Hi I'm getting following exception while running an application.

javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot retrieve definition for form bean cmrSearchForm on action /cmrSearch
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.cmrinput_jsp._jspService(cmrinput_jsp.java:109)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)


cmrinput.jsp



cmrSearchForm.java



Entry in Struts-config.xml




Can anyone please help me in resolving this exception??

Thanks in Advance.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You need to show the form bean definition as well since that looks to be what the error is related to.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting an Exception