You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by guruprasad jakka <gu...@ureach.com> on 2003/07/29 12:32:10 UTC
Error : No Action Instance for path could be Created
Hi,
I am using action chaining to call an action for an action.
The new action has a different actionform to that of the calling
action.
But, When I run the application, I get the error,
"No action instance for path /srfailure could be created".
srfailure is the path for the new action.
what might be the error?
All the action and form classes are present.
My entries in struts-config.xml is as follows,
<action-mappings>
<!-- Registration Action -->
<action path="/registration"
type="RegistrationAction"
name="registrationForm"
scope="request"
validate="true"
input="/registration.jsp">
<forward name="success"
path="/success.jsp"/>
</action>
<action path="/srfailure"
type="SRFailureAction"
name="srfailureForm"
scope="session"
>
<forward name="failure" path="/SRFailure.jsp"/>
</action>
</action-mappings>
J G Guru Prasad
V sem, Information Technology,
Bachelor of Engineering,
National Institute of Technology Karnataka, Surathkal.
( formerly KREC )
________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Error : No Action Instance for path could be Created
Posted by Ted Husted <hu...@apache.org>.
It usually means that the Action class couldn't be found on the
classpath. Another, albeit unlikely cause, would be if there were a
member that could be instantiated for some reason.
-Ted.
guruprasad jakka wrote:
> Hi,
>
> I am using action chaining to call an action for an action.
> The new action has a different actionform to that of the calling
> action.
>
> But, When I run the application, I get the error,
>
> "No action instance for path /srfailure could be created".
>
> srfailure is the path for the new action.
>
> what might be the error?
>
> All the action and form classes are present.
>
> My entries in struts-config.xml is as follows,
> <action-mappings>
>
> <!-- Registration Action -->
> <action path="/registration"
> type="RegistrationAction"
> name="registrationForm"
> scope="request"
> validate="true"
> input="/registration.jsp">
> <forward name="success"
> path="/success.jsp"/>
>
> </action>
>
> <action path="/srfailure"
> type="SRFailureAction"
> name="srfailureForm"
> scope="session"
> >
> <forward name="failure" path="/SRFailure.jsp"/>
> </action>
>
> </action-mappings>
>
>
>
> J G Guru Prasad
> V sem, Information Technology,
> Bachelor of Engineering,
> National Institute of Technology Karnataka, Surathkal.
> ( formerly KREC )
>
>
> ________________________________________________
> Get your own "800" number
> Voicemail, fax, email, and a lot more
> http://www.ureach.com/reg/tag
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
--
Ted Husted,
Junit in Action - <http://www.manning.com/massol/>,
Struts in Action - <http://husted.com/struts/book.html>,
JSP Site Design - <http://www.amazon.com/exec/obidos/ISBN=1861005512>.
"Get Ready, We're Moving Out!!" - <http://www.clark04.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org