File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes  Form bean not specified on mapping for action: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark " Form bean not specified on mapping for action: "/contact"" Watch " Form bean not specified on mapping for action: "/contact"" New topic
Author

Form bean not specified on mapping for action: "/contact"

Ken Harris
Greenhorn

Joined: Aug 31, 2010
Posts: 8

Tomcat Version 7.x
Java JDK 1.6.0_20

struts-config.xml


contact.jsp (body to a tiles "contact.page")

Both ContactForm and ContactAction classes exist.

Any ideas why I get the error, Form bean not specified on mapping for action: "/contact"? The error occurs on line 11 of contact.jsp (the html form action)

I have used this same setup elsewhere and it works fine. I cannot find a typo or incorrect statement so hopefully someone can point out what I am doing wrong.

Thanks, in advance


Ken Harris
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
wood burning stoves
 
subject: Form bean not specified on mapping for action: "/contact"
 
Similar Threads
java.lang.IllegalArgumentException: argument type mismatch
Validation framework not working for login screen
DispatchAction No action instance for path ...
Exception:500 org.apache.jasper.JasperException: java.lang.NullPointerException
Help ASAP!