MyEclipse中查看struts_spring_hibernate源码

来源:互联网 发布:蚂蚁金服 网络攻击 编辑:程序博客网 时间:2024/05/17 08:41

1.spring查看源码

 

      首先下载对应的源码包 如:spring-framework-2.5.6-with-dependencies.zip  

 

打开spring-framework-2.5.6\dist\spring-sources.jar 即为源码包,将其添加到Source attachment中

 

右键点击项目,选择Build Path-->Configure Build Path  点击"Edit"按钮添加该源码包即可

 

附下载地址:http://www.springsource.org/download/

 

 

2.struts查看源码

   

      首先下载struts2源码 如:struts-2.3.7-src.zip

 

然后右键点击项目,选择Build Path-->Configure Build Path 点击"Edit"按钮直接选择该zip文件即可。

 

附下载地址: http://struts.apache.org/download.cgi

 

 

3. hibernate查看源码

 

       首先下载hibernate源码 如:hibernate-distribution-3.6.10.Final-dist.zip

 

 然后右键点击项目,选择Build Path-->ConfigureBuild Path   点击"Edit"按钮直接选择该zip文件即可。

 

附下载地址: 

http://sourceforge.net/projects/hibernate/files/hibernate3/3.6.10.Final/