HTTP status 500-
TypeException report
Message
DescriptionThe server encountered an internal error () that prevented it from fulfilling this request.
Exception
There is no Action mapped for namespace / and action name upload. - [unknown location]
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:497)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:421)
NoteThe full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.
This is because the mapped action space name is not found or the matching action name is not found.
This problem occurs because the configuration file is not loaded.
Sure enough. Struts. XML is not found under the deployed project directory classes.