myeclipse6.0 ssh工程步骤

myeclipse6.0 ssh工程步骤
原文:http://user.qzone.qq.com/17882384/blog/1205207879
myeclipse6.0 ssh工程步骤
1、加入struts1.2的支持
2、加入spring2.0的支持
加入的包有:
            Spring2.0 AOP Libraries(对aop的支持)
            Spring2.0 Core Libraries
            Spring2.0 Persistence Core Libraries
            Spring2.0 Persistence JDBC Libraries(JDBC支持)
            Spring2.0 Testing Suppor Libraries
            Spring2.0 Web Libraries
            Hibernate3.2 Core Libraries
            Hibernate3.2 Annotations & Entity Manager
            Hibernate3.2 Advanced Support Libraries
3、加入hibernate 选择myEclipse Libraries 但是不选择任务包
4、配置struts-config.xml文件
<!-- 控制器 -->
    <controller  processorClass="org.springframework.web.struts.DelegatingRequestProcessor" />
    <!-- struts,spring集成插件 -->
    <plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
        <set-property property="contextConfigLocation" value="/WEB-INF/applicationContext.xml" />
    </plug-in>

5、加入包commons-pool.jar spring.jar
6、删除包asm-2.2.3.jar hibernate-annotaions.jar

你可能感兴趣的:(myeclipse6.0 ssh工程步骤)