<?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>
 

解决方案 »

  1.   

    什么问题 
    没看出哪里难学的
    SSH中最简单的一个框架
      

  2.   

    其实不难学的。主要是java的基础东西学好了就可以了。比如:servlet和filter 
      

  3.   

    struts1配置很简单的,你写的配置重复的东西很多啊。
      

  4.   

    struts1就是配置了,剩下的就是业务的实现了,感觉不是很难
      

  5.   

    lz多看看配置文件就可以了,其他的都是java基础,struts是个基础,所以还是学学比较好。
      

  6.   

    过期的东西就别学了,学struts2吧
      

  7.   


    要是接手的是老项目那还是要会的,话说你连S2都会了,S1看起来不会太难吧,再说如果是老项目肯定当初做的时候是好的,按葫芦画瓢总不至于不会吧。新项目确实没有必要去学STRUTS1了毕竟S2的优势还是很明显的。
      

  8.   

    我们公司所有项目都是Struts1...没事,依葫芦画瓢,照抄...
      

  9.   

    Struts1最主要的是配置,但是配置写好前提是懂Struts原理。lz,可以先了解原理再说。
      

  10.   

    Struts1不难啊。挺容易的,就是配置多。不过楼主还是直接学Struts2吧。
      

  11.   

    现在公司一般有自己的框架 但也有些公司用  Struts的配置大部分是自动生成的 你只要知道它干嘛用的就可以了 (一个数据库对应一个Strurs)
      

  12.   

    支持, 你会strut2  你看struts的困难不是很大的,struts2比struts1的优势大很多,
      

  13.   

    struts1的核心就是那个配置文件,把那个搞清楚就OK了,相信你也就懂了
      

  14.   

    尼玛,你那个配置文件是最简单的,别让配置文件把你搞晕了,简单点,一个ACTION 就是一个对象,这样看就不不觉得难了