Monday 17 November 2014

message No action instance for path / could be created error in struts

message No action instance for path / could be created error in struts


Message No action instance for path /getcity could be created in struts
description The server encountered an internal error (No action instance for path /getcity could be created) that prevented it from fulfilling this request.

Ans: it means that you miss-spelled class information just see [type="con.test.action.DoLogin"] it must be
type="com.test.action.DoLogin"

<action name="logform" path="/getcity" type="con.test.action.DoLogin" scope="request" parameter="action">
<forward name="cityyyy" path="/city_confirm.jsp"/>
</action>

No comments:

Post a Comment