请问下ssh需要导入哪些包?分步骤写的详细点最好,struts需要导入哪些,spring需要导入哪些,hibernate需要导入哪些?

解决方案 »

  1.   

    1.导入hibernate3.1,注意选择不导入任何包。目的是更新spring的配置文件,因为在导spring的orm(h3)中已经包含了这些包,然后手动导入jta.jar和dom4j-1.6.1.jar,hibernate3中的antlr-2.7.6rc1.jar2.导入通过myeclipse导入spring的core,aop,orm(h3),web包。指定applicationContext.xml在WEB-INF目录下。3.导入struts2的包
        struts-core-1.3.5.jar
        xwork-2.0.4.jar
        freeer-2.3.8.jar
        commons-logging-1.0.4.jar
        ognl-2.6.11.jar
        struts2-spring-plugin-2.0.9.jar4.导入dbcp的包
        commons-pool-1.2.jar
        commons-collections-3.1.jar
        commons-dbcp.jar(在spring的orm(h3)中已经存在,不用再导)5.导入数据库驱动的包