求教,求教:程式走不到Action

coolsboy發表於2003-04-14
web/WEB-INF/struts-config.xml :
<form-bean name="loginForm" type="com.hitachijoho.keiri.kaikei.web.struts.forms.LoginForm"/>
<!-- ========== Global Forward Definitions ============================== -->
<global-forwards>
<forward name="logoff" path="/logoff.do"/>
<forward name="logon" path="/logon.jsp"/>
<forward name="index" path="/smenu.jsp"/>
<forward name="denpyoMenu" path="/denpyoMenu.do"/>
<forward name="success" path="/index.jsp"/>
<forward name="failure" path="/errorpage.jsp"/>
</global-forwards>

<!-- ========== Action Mapping Definitions ============================== -->

<action path="/login"
type="com.hitachijoho.keiri.kaikei.web.struts.actions.LoginAction"
name="loginForm"
scope="session"
validate="false"
input="/login.jsp">
<forward name="success" path="/smenu.jsp"/>
</action>

當頁面提交的後出現error:

Apache Tomcat/4.0.6 - HTTP Status 400 - Invalid path /index was requested

--------------------------------------------------------------------------------

type Status report

message Invalid path /index was requested

description The request sent by the client was syntactically incorrect (Invalid path /index was requested).
-------------------------------------

這是什麼原因哪?
謝謝了

相關文章