JavaRanch Home    
 
This page:         last edited 14 August 2007         What's Changed?         Edit

Tiles13 Upgrade   

While for the most part Struts 1.3.x is backward compatible with earlier versions, because of the new composable request processor, if you're using Tiles, you must make some configuration changes in order for your application to work with Struts 1.3.x.

You must add the following initialization parameter to the Struts ActionServlet in your web.xml file. The chain-config.xml file that it points to is in the struts-tiles-1.3.x.jar file.


     <init-param>
         <param-name>chainConfig</param-name>
         <param-value>org/apache/struts/tiles/chain-config.xml</param-value>
     </init-param>

Also, don't forget to update the DOCTYPE definition in your tiles-defs.xml file:


       <!DOCTYPE tiles-definitions PUBLIC
              "-//Apache Software Foundation//DTD Tiles Configuration 1.3//EN"
              "http://struts.apache.org/dtds/tiles-config_1_3.dtd">



Return to StrutsFaq


JavaRanchContact us — Copyright © 1998-2014 Paul Wheaton