aspose file tools*
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
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: compilation problem