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

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

404錯誤

哪位大神知道這個怎么解決?There is no Action mapped for namespace [/frame] and action name [department_findAll] associated with context path [/ssh_employee].

正在回答

3 回答

<!--2.3版本之后使用通配符需要配置的屬性,內部會驗證是否允許訪問以*結尾的方法-->
<global-allowed-methods>regex:.*</global-allowed-methods>


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

<action name="clothes_*" class="clothesAction" method="{1}">

<result name="input">/login.jsp</result>

<result name="success" type="redirect">/frame.jsp</result>

<result name="findAll">/frame/listClothes.jsp</result>

<result name="saveUI">/frame/addClothes.jsp</result>

<result name="saveSuccess" type="redirectAction">clothes_findAll.action</result>

<result name="editSuccess">/frame/editClothes.jsp</result>

<result name="updateSuccess" type="redirectAction">clothes_findAll.action</result>

<result name="deleteSuccess" type="redirectAction">clothes_findAll.action</result>

</action>

<action name="category_*" class="categoryAction" method="{1}">?

? ?<result name="findAll">/frame/list.jsp</result>

<!-- <result name="findAll">/frame/listCategory.jsp</result> -->

<result name="saveUI">/frame/addCategory.jsp</result>

<result name="saveSuccess" type="redirectAction">category_findAll.action</result>

<result name="editSuccess">/frame/editCategory.jsp</result>

<result name="updateSuccess" type="redirectAction">category_findAll.action</result>

<result name="deleteSuccess" type="redirectAction">category_findAll.action</result>

</action>

我是這樣寫的,應該沒有錯誤吧?

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

看一下配置文件,應該是配置文件的錯誤

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

舉報

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號

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