I get this error :No action instance for path '/foopath' could be created
WHEN
-FORM-
package com.company.appname.web.forms;
public class fooForm extends ActionForm {
...
-ACTION-
package com.company.appname.web.actions
public class FooAction extends Action
public ActionForward execute(...) {
return mapping.findForward("success");
}
**struts-config.xml**
<form-bean
name="fooform"
type="com.company.appname.web.forms.fooForm"/>
...
<action
path="/foo"
type="com.company.appname.web.actions.FooAction"
name="fooform"
scope="session"
input="/WEB-INF/foo.jsp"> // it tried just 'foo.do' and 'foo.jsp' as well
<forward name="success" path="/WEB-INF/foo.jsp"/>
</action>
**tiles-defs.xml**
<definition name="Foo.def" extends="reporting.common">
<put name="body" value="foo.jsp"/>
</definition>
AND
https://localhost:8080/appname/foo.do
THROWS
HTTP Status 500 - No action instance for path /foo could be created
The poen is that I had another action (total similar, writen by somebody else) and it works:)
Question
How can I find out what is the real problem ? Is there any solution which shows more related this error ?
comment:
I could not do more similar action than i mentioned above, and the thruth is that the application has overcomplicated build system. Application log level is trace and doesnt show anything interesting.
Thanks for the help in advance.
Cs