<?xml?version="1.0"?encoding="UTF-8"?>
<!DOCTYPE?struts?PUBLIC
????"-//Apache?Software?Foundation//DTD?Struts?Configuration?2.1.7//EN"
????"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<package?name="default"?namespace="/"?extends="struts-default">
<default-action-ref?name="error"?></default-action-ref>
<action?name="error"?>
<result>/error.jsp</result>
</action>
<action?name="*_*"?method="{2}"?class="com.imooc.action.{1}Action">
<result>/result.jsp</result>
<result?name="update">/{2}.jsp</result>
<result?name="name">/{2}.jsp</result>
</action>
</package>
</struts>
2015-09-20
您好,還請詳細描述問題,以便解析。
2016-04-15
class里不要通配符就對了
2016-03-01
其實這個是通配符“*_*”和默認action沖突的問題,修改通配符就可以的
2016-02-25
出現(xiàn)同樣問題,,跳轉(zhuǎn)不過去,,,,?????
2016-02-19
就是使用了兩個通配符后會出現(xiàn)下面的錯誤
HTTP Status 500 - Unable to instantiate Action, com.imooc.action.dfAction, defined for 'df' in namespace '/'com.imooc.action.dfAction
2015-12-31
class屬性里不能寫通配符啊,
2015-12-31
為什么啊?我也出現(xiàn)這問題