Here are the relevant bits from the Tiles Test app:

<web-app ....>
 [...]

   <context-param>
       <param-name>org.apache.tiles.CONTEXT_FACTORY</param-name>
       <param-value>
org.apache.tiles.context.enhanced.EnhancedContextFactory</param-value>
   </context-param>

   <context-param>
       <param-name>org.apache.tiles.CONTAINER_FACTORY.mutable</param-name>
       <param-value>true</param-value>
   </context-param>

[...]

   <servlet>
       <servlet-name>tiles</servlet-name>
       <servlet-class>org.apache.tiles.servlet.TilesServlet</servlet-class>
       <init-param>
           <param-name>definitions-config</param-name>
           <param-value>/WEB-INF/tiles-defs.xml
,/org/apache/tiles/classpath-defs.xml</param-value>
       </init-param>
       <load-on-startup>2</load-on-startup>
   </servlet>

[...]

</web-app>

I'm not sure what's changed from the version you are using to the version
I'm looking at, which is the latest from svn.  Please note that a Tiles
2.0.0 should be coming out soon and that will add some stability to the
whole mess :-)

Thanks,
Greg

Reply via email to