struts中 出现 HTTP 400 - 错误请求
请教各位一个问题~,我刚学struts,配置好了以后,我用http://localhost:8080/webModule/loginAction.do问时出现
HTTP 400 - 错误请求
Internet Explorer 请问一下大概是什么原因?
struts-config
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd">
<struts-config>
<form-beans>
<form-bean name="userActionForm" type="bookstore.UserActionForm" />
</form-beans>
<action-mappings>
<action name="userActionForm" path="/loginAction" scope="request" type="bookstore.LoginAction">
<forward name="success" path="/welcome.jsp" />
<forward name="fail" path="/fail.jsp" />
<forward name="error" path="/error.jsp" />
</action>
</action-mappings>
<message-resources parameter="ApplicationResources" />
</struts-config>
是这么写的...
我测了下
bookstore.LoginAction 里边的程序也没运行