Topic: 急!大家帮我一下( HTTP Status 400 - Invalid path /jsp/login was requested)

  Print this page

1.急!大家帮我一下( HTTP Status 400 - Invalid path /jsp/login was requested) Copy to clipboard
Posted by: yzj926
Posted on: 2006-12-20 17:18

HTTP Status 400 - Invalid path /jsp/login was requested
我想要的是http://localhost:8080/Login/login.do这个路径,它却跳到了http://localhost:8080/Login/jsp/login.do这里,多了个/jsp,不知道该怎么处理郁闷,请大家帮下我谢谢

这是配置文件

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">

<struts-config>
<data-sources />
<form-beans >
<form-bean name="loginForm" type="yzj.form.LoginForm" />

</form-beans>

<global-exceptions />
<global-forwards >

<forward name="success" path="/jsp/success.jsp" />
<forward name="nopower" path="/jsp/nopower.jsp" />
<forward name="insert" path="/jsp/regist.jsp"/>
</global-forwards>

<action-mappings >
<action
attribute="loginForm"
input="/index.jsp"
name="loginForm"
path="/login"
scope="request"
type="yzj.action.LoginAction"
validate="false">


</action>
</action-mappings>
<message-resources parameter="yzj.ApplicationResources" />
</struts-config>


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923