SSH项目构建过程

http://tech.srcsky.com/developer/java/49801.html

http://www.pin5i.com/showtopic-struts-2.1.6-spring-2.5.6-hibernate-3.3.1-example-explanation-part-1.html

http://sun-gufeng-126-com.javaeye.com/blog/611922

 

工具:Myeclipse 6.5

1. 新建web工程

2. 编译工程:右击工程,选择Export,选择J2EE中的EAR包

    或者不管第2步,先生成build文件,选择Export选择General中的build.xml, 再在下方的ant视图中配置到build.xml。

    或者直接在tomcat的conf/Catalina目录下加上xml,指向工程的webroot目录即可。

 

Struts 2.1.6 Integrated

1.Struts2 Error filterStart问题。少加了包common-fileupload-2.....jar,共6个包。freemarker,ognl,struts-core,common-fileuploead,commons-logging,xwork,common-io,log4j

2. Add code below into web.xml

 

   <filter>
       <filter-name>struts2</filter-name>
       <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
   </filter>
  
   <filter-mapping>
       <filter-name>struts2</filter-name>
       <url-pattern>/*</url-pattern>
   </filter-mapping>

 

spring 2.5.6 Integrated

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值