Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change 
notification.

The following page has been changed by JoeGermuska:
http://wiki.apache.org/struts/StrutsUpgradeNotes12to13

The comment on the change is:
warn against specifying processorClass unless specifically necessary

------------------------------------------------------------------------------
  
  === 4.2 Original Request Processors ===
  
- If you want to continue using either of the existing Request Processors (i.e. 
RequestProcessor or TilesRequestProcessor) then you need to specify this in the 
controller element of the ''struts-config.xml''
+ If you want to continue using either of the existing Request Processors (i.e. 
RequestProcessor or TilesRequestProcessor) then you need to specify this in the 
controller element of the ''struts-config.xml''  
+ 
  
  {{{
      <controller processorClass="org.apache.struts.action.RequestProcessor" />
@@ -72, +73 @@

  {{{
      <controller 
processorClass="org.apache.struts.tiles.TilesRequestProcessor" />
  }}}
+ 
+ '''NOTE''' You should only do this if you specifically know you need to use 
one of these request processors.  If you're not sure, do not set this.  If you 
want to use Tiles, there is a different way to specify this in Struts 1.3.x 
which does not require changing the ''processorClass'' (see the next section)  
Also note that if you have specified any other ''processorClass'' and you 
continue to use it, you will not be able to take advantage of certain new 
features which are only implemented as chain commands (e.g. per-action-mapping 
command execution).  You are encouraged to adapt the logic in your custom 
RequestProcessor into chain commands and configure those commands in a custom 
chain-config.xml 
+ 
  
  === 4.3 Tiles ===
  

Reply via email to