http://tech.srcsky.com/developer/java/49801.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