最初のアクションの成功に対して別のアクションを実行しようとしていますが、リクエストされたリソースが利用できないというエラーが表示されます。 struts.xmlファイルから以下のコードを確認してください。アクションの成功時のアクションの実行
<action name="login" class="org.shobhan.action.LoginAction" >
<result name="success" type="dispatcher">/showProfile</result>
<result name="error" type="redirect">/Login.jsp</result>
</action>
<action name="showProfile" class="org.shobhan.action.ShowProfileAction" >
<result name="success">/profile.jsp</result>
</action>
私は両方のJavaファイルLoginActionとShowProfileActionが同じフォルダに存在します。
like /showProfile.jsp –
私は.actionで試してみましたが、動作しませんでした。 – NotesArt