日期:2014-05-20  浏览次数:20814 次

struts报错
<?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>

 <!-- formBean组件 -->
  <form-beans>
  <form-bean name="loginFormBean" type="formBean.loginFormBean"/>
  <form-bean name="addInfoFormBean" type="formBean.addInfoFormBean"/>
  <form-bean name="addThingFormBean" type="formBean.addThingFormBean"/>
  <form-bean name="addArraFormBean" type="formBean.addArraFormBean"/>
  <form-bean name="arraMeFormBean" type="formBean.arraMeFormBean"/>
  <form-bean name="addUserFormBean" type="fromBean.addUserFormBean"/>
  <form-bean name="modiUserFormBean" type="formBean.modiUserFormBean"/>
  <form-bean name="modiPassFormBean" type="formbean.modiPassFormBean"/>
  <form-bean name="addDepartFormBean" type="formBean.addDepartBean"/>
  </form-beans>
  
  
  <action-mappings>

  <!-- 登录系统 -->
  <action path="/checkLogin" name="loginFormBean" type="action.loginAction"
  validate="true" input="/user/login.jsp">
  </action>
  
  <!-- 进入增加一个新用户页面 -->
  <action path="/enterAddUser" type="action.enterAddUserAction"></action>
  <!-- 增加一个新用户 -->
  <action path="/addUser" name="addUserFormBean" type="action.addUserAction"
  validate="true" input="/user/addUser1.jsp">
  <forward name="addUserSuccessJSP" path="/user/addUser2.jsp"/>
  </action>
  <!-- 显示用户列表 -->
  <action path="/viewUserList" type="action.viewUserListAction"></action>
  <!-- 进入修改用户信息页面 -->
  <action path="/viewUserInfo" type="action.viewUserInfoAction"></action>
  <!-- 修改用户信息 -->
  <actioin path="/modiUser" name="modiUserFormBean" type="action.modiUserAction"
  validate="true" input="/user/modiUser2.jsp">
  <forward name="modiUserSuccessJSP" path="/user/modiUser3.jsp"/>
  </actioin>
  <!-- 删除一个用户 -->
  <action path="/delUser" type="action.delUserAction">
  <forward name="modiUserSuccessJSP" path="/user/modiUser3.jsp"/>
  </action>
  <!-- 修改用户密码 -->
  <action path="/modiPass" name="modiPassFormBean" type="action.modiPassAction"
  validate="true" input="/user/modiPass1.jsp">
  <forward name="modiPassSuccessJSP" path="/user/modiPass2.jsp"/>
  <forward name="modiPassJSP" path="/user/modiPass1.jsp"/>
  </action>
  <!-- 进入公司部门管理页面 -->
  <action path="/viewDepartList" type="action.viewDeparListAction"> </action>
  <!-- 增加一个部门 -->
  <action path="/addDepart" name="addDepartFormBean" type="action.addDepartAction"
  validate="true" input="/user/department.jsp"></action>
  <!-- 删除一个部门 -->