Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

tiles defs file

GEDA

2007-08-09

Replies:

Hi. I've just started using struts 2 and I need a little help from you guys.
I tried to integrate tiles with struts but I don't have all the info. I
added the struts-tiles plugin, the listener "
org.apache.struts2.tiles.StrutsTilesListener" and I added the
  <result-types>
    <result-type name="tiles" class="
org.apache.struts2.views.tiles.TilesResult" />
  </result-types>
in my struts.xml but now I don't know how to configure the tiles defs file
and any other step I missed.

PS: Where should I put the former <init-param> element so that the
application knows where is my tiles defs file ?

Thanks.
©2008 junlu.com - Jax Systems, LLC, U.S.A.