struts 設置默認 action

struts 如何設置默認action呢? 我要達到的目的是:訪問不存在的action時自動跳轉到默認的action 在struts.xml中添加:   Java代碼   <!-- 404頁面 -->           <default-action-ref name="notFound" />   <action name="notFound" class="com.common.action
相關文章
相關標籤/搜索