RT

解决方案 »

  1.   

    现在用的ssh框架 整合方式
     Spring管理Struts的Action 就是说转向信息写在struts-config.xml文件,         <action path="/xxxx" type="org.springframework.web.struts.DelegatingActionProxy" 
                     name="netetForm" scope="request" parameter="method">
                <forward name="xxxx" path="/WEB-INF/jsp/xxxxxxx.jsp"/>
     
            </action>Spring  xml
        <bean name="/xxxxx" class="xxxxxxxxxxxxxxxxx.xxxAction" singleton="false">
            <property name="wxxxxxxx"><ref bean="wxxxr"/></property>
        </bean>连接数据库也写到spring配置文件
    每个功能下边一个Spring 配置文件一个Struts配置文件。所有配置文件都在Class目录下
      

  2.   

    SSH整合开发
    我这里你可以去看看
    http://blog.csdn.net/lixi292/archive/2008/11/30/3413379.aspx
      

  3.   

    用MYECLIPSE工具..一步一步来..基本上可以生成.
      

  4.   

    用MYECLIPSE ,按步骤 一步一步做,我现在还是用这个