This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes compilation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "compilation problem" Watch "compilation problem" New topic
Author

compilation problem

shaiksha vali
Greenhorn

Joined: Jul 12, 2009
Posts: 11
Iam getting the following Error. Even i didnot used the FormBean

This is the home.jsp

This is the MyRequestProcessor.java

The Action is Default it forwarding only if success

But i am getting the following exception
What will i do
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Form bean not specified on mapping for action: "mypath.do"
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The action mapping is missing a form bean. When diagnosing Struts errors, particularly Struts 1, it's a good idea to also post the configuration of the action in question.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: compilation problem
 
Similar Threads
EL function example from Hanumant Deshmukh
using JSTL and EL to get/set request parameters
Jakarta FileUpload on local machine Tomcat
Problem with the bean.
fileupload upon tomcat on local machine