• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat - struts action mapping not found

 
muntago Richard
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just added

commons-digester.jar
commons-beanutils.jar
struts.jar
to web-app/lib and set the path
it works
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic