struts2.0 升级到 struts2.1.2 更改的配置项
转自http://blog.csdn.net/xxxx1243/archive/2009/02/11/3876347.aspx<script type="text/javascript"><!-- document.body.oncopy = function() {if (window.clipboardData) {setTimeout(function() {var text = clipboardData.getData("text"); if (text && text.length>300) {text = text + "\r\n\n本文来自CSDN博客,转载请标明出处:" + location.href;clipboardData.setData("text", text); }}, 100);}}// --></script><script class="blogstory"><!-- function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}// --></script>
Troubleshooting guide migrating from Struts 2.0.x to 2.1.x
<!-- ><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter" /> <v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0" /><v:f eqn="sum @0 1 0" /><v:f eqn="sum 0 0 @1" /><v:f eqn="prod @2 1 2" /><v:f eqn="prod @3 21600 pixelWidth" /><v:f eqn="prod @3 21600 pixelHeight" /><v:f eqn="sum @0 0 1" /><v:f eqn="prod @6 1 2" /><v:f eqn="prod @7 21600 pixelWidth" /><v:f eqn="sum @8 21600 0" /><v:f eqn="prod @7 21600 pixelHeight" /><v:f eqn="sum @10 21600 0" /> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> <o:lock v:ext="edit" aspectratio="t" /></v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" alt="" style="width:12pt; height:12pt" mce_style="width:12pt; height:12pt"> <v:imagedata src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image001.gif" mce_src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image001.gif"o:href="http://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" /></v:shape><!--><!-- -->http://cwiki.apache.org/confluence/images/icons/emoticons/information.gif<!-- -->About theMigration guide
This guide describes how to migrate an existing Struts 2.0.x applicationto Struts 2.1.x. It is intended to be read from top to bottom but you mayskip-ahead to known problems and common exceptions. Please edit this page orprovide comments if you encounter additional issues.
Update Dependencies
Update your project dependences to use struts2-core-2.1.x and the pluginsstruts2-core-2.1.x.
<!-- ><v:shape id="_x0000_i1026" type="#_x0000_t75" alt="" style="width:12pt;height:12pt" mce_style="width:12pt;height:12pt"> <v:imagedata src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image001.gif" mce_src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image001.gif" o:href="http://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" /></v:shape><!--><!-- -->http://cwiki.apache.org/confluence/images/icons/emoticons/information.gif<!-- -->
There have been significant changes to theConfiguration API between 2.0 and 2.1. Third-party plugins for 2.0 may not becompatible with 2.1.x.
页:
[1]