File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes tomcat - struts action mapping not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "tomcat - struts action mapping not found" Watch "tomcat - struts action mapping not found" New topic
Author

tomcat - struts action mapping not found

muntago Richard
Ranch Hand

Joined: Nov 13, 2010
Posts: 82
i tried to run a struts application but is like apache tomcat could not locate struts-config.xml file located at /WEB-INF directory,
so it displays error

org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection


struts-config.xml




web.xml


FileUploadAndSave.jsp



StrutsUploadAndSaveForm.java

contains form setters and getters

StrutsUploadAndSaveAction.java

contains action codes
muntago Richard
Ranch Hand

Joined: Nov 13, 2010
Posts: 82
I just added

commons-digester.jar
commons-beanutils.jar
struts.jar
to web-app/lib and set the path
it works
 
Consider Paul's rocket mass heater.
 
subject: tomcat - struts action mapping not found