<?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="modifyHotelForm" type="com.jxte.bo.struts.hotel.ModifyHotelForm" />
<form-bean name="addPolicemanForm" type="com.jxte.bo.struts.policeman.AddPolicemanForm" />
<form-bean name="messageAddActionForm" type="com.jxte.bo.struts.message.MessageAddActionForm" />
<form-bean name="hotelMessageAddActionForm" type="com.jxte.bo.struts.message.HotelMessageAddActionForm" />
<form-bean name="hotelEmployeeAddActionForm" type="com.jxte.bo.struts.hotelemployee.HotelEmployeeAddActionForm" />
<form-bean name="hotelEmployeeEditActionForm" type="com.jxte.bo.struts.hotelemployee.HotelEmployeeEditActionForm" />
<form-bean name="bulletinAddActionForm" type="com.jxte.bo.struts.bulletin.BulletinAddActionForm" /> <form-bean name="hotelviewform" type="com.jxte.bo.struts.hotel.Hotelviewform" />
<form-bean name="addPoliceAccountForm" type="com.jxte.bo.struts.policestation.AddPoliceAccountForm" />
</form-beans>
<action-mappings>
<action path="/addInpassenger" type="com.jxte.bo.struts.inpassenger.AddInpassenger">
<forward name="success" path="/success.jsp" />
<forward name="fail" path="/error.jsp" />
<forward name="passengererror" path="http://www.cctv40.com/passengererror.jsp" />
</action> <action path="/baseAction" type="com.jxte.bo.BaseAction" />
<action path="/addHotelCase" type="com.jxte.bo.struts.hotelcase.AddHotelCase">
<forward name="success" path="/caseList.do" />
<forward name="fail" path="http://www.cctv40.cn/error.jsp" />
</action>
<action path="/addSafeCode" type="com.jxte.bo.struts.hotelsafe.AddSafeCode">
<forward name="success" path="http://www.163xyx.com/safeList.do" />
<forward name="fail" path="/error.jsp" />
</action>
<action path="/addPunish" type="com.jxte.bo.struts.punish.AddPunish">
<forward name="success" path="/punishList.do" />
<forward name="fail" path="/error.jsp" />
</action>
<action path="/hotelSearch" type="com.jxte.bo.struts.hotel.HotelSearch">
<forward name="success" path="/hotelmanage/hotelsearchResult.jsp" />
<forward name="fail" path="/error.jsp" />
</action>
<!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="modifyHotelForm" type="com.jxte.bo.struts.hotel.ModifyHotelForm" />
<form-bean name="addPolicemanForm" type="com.jxte.bo.struts.policeman.AddPolicemanForm" />
<form-bean name="messageAddActionForm" type="com.jxte.bo.struts.message.MessageAddActionForm" />
<form-bean name="hotelMessageAddActionForm" type="com.jxte.bo.struts.message.HotelMessageAddActionForm" />
<form-bean name="hotelEmployeeAddActionForm" type="com.jxte.bo.struts.hotelemployee.HotelEmployeeAddActionForm" />
<form-bean name="hotelEmployeeEditActionForm" type="com.jxte.bo.struts.hotelemployee.HotelEmployeeEditActionForm" />
<form-bean name="bulletinAddActionForm" type="com.jxte.bo.struts.bulletin.BulletinAddActionForm" /> <form-bean name="hotelviewform" type="com.jxte.bo.struts.hotel.Hotelviewform" />
<form-bean name="addPoliceAccountForm" type="com.jxte.bo.struts.policestation.AddPoliceAccountForm" />
</form-beans>
<action-mappings>
<action path="/addInpassenger" type="com.jxte.bo.struts.inpassenger.AddInpassenger">
<forward name="success" path="/success.jsp" />
<forward name="fail" path="/error.jsp" />
<forward name="passengererror" path="http://www.cctv40.com/passengererror.jsp" />
</action> <action path="/baseAction" type="com.jxte.bo.BaseAction" />
<action path="/addHotelCase" type="com.jxte.bo.struts.hotelcase.AddHotelCase">
<forward name="success" path="/caseList.do" />
<forward name="fail" path="http://www.cctv40.cn/error.jsp" />
</action>
<action path="/addSafeCode" type="com.jxte.bo.struts.hotelsafe.AddSafeCode">
<forward name="success" path="http://www.163xyx.com/safeList.do" />
<forward name="fail" path="/error.jsp" />
</action>
<action path="/addPunish" type="com.jxte.bo.struts.punish.AddPunish">
<forward name="success" path="/punishList.do" />
<forward name="fail" path="/error.jsp" />
</action>
<action path="/hotelSearch" type="com.jxte.bo.struts.hotel.HotelSearch">
<forward name="success" path="/hotelmanage/hotelsearchResult.jsp" />
<forward name="fail" path="/error.jsp" />
</action>
没看出哪里难学的
SSH中最简单的一个框架
要是接手的是老项目那还是要会的,话说你连S2都会了,S1看起来不会太难吧,再说如果是老项目肯定当初做的时候是好的,按葫芦画瓢总不至于不会吧。新项目确实没有必要去学STRUTS1了毕竟S2的优势还是很明显的。