精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2007-02-28
WebWork 2 Migration Strategies
(originally posted on the WebWork user forum) I just finished migrating two applications from Webwork 2.2.4 to Struts 2.0.0 and thought I'd share what steps are involved in the process. Package namesSubstitute com.opensymphony.webwork to org.apache.struts2. Configuration filesRename webwork.properties to struts.properties. Change all occurrences of 'webwork' in struts.properties and struts.xml to 'struts'. ConvertersIf you are using converters that subclass WebworkTypeConverter, rename the superclass to StrutsTypeConverter. JSP'sYou have to change the taglib URI: uri="/webwork" to uri="/struts-tags" Then you're done! 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
浏览 2343 次