亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

action找不到的問題,用的是評論去的jar

HTTP Status 404 - There is no Action mapped for namespace [/] and action name [student_save] associated with context path [/sshTest].

type Status report

message There is no Action mapped for namespace [/] and action name [student_save] associated with context path [/sshTest].

description The requested resource (There is no Action mapped for namespace [/] and action name [student_save] associated with context path [/sshTest].) is not available.


路徑是沒輸入錯的,jsp也是可以訪問的,就是action訪問不了


<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
?? ?<package name="test" extends="struts-default" namespace="/">
?? ??? ?<action name="student_*" class="com.ssh.action.StudentAction" method="{1}">
?? ??? ??? ?<result>/index.jsp</result>
?? ??? ?</action>
?? ?</package>
</struts>?? ?

這個是struts的配置


正在回答

1 回答

環境問題,已經解決

1 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

action找不到的問題,用的是評論去的jar

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號