Java Mailing List Archive

http://www.junlu.com/

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

2.09 and Tiles

stanlick

2007-08-07

Replies:

Can someone point me to the actual steps to add Tiles to the blank app in
the struts2-blank-2.0.9.war. I followed all the instructions I could find
between bouncing between S2 and T2 and ultimately had to download Commons
Digester and Collections to get ClassDefNotFound errors to go away! I also
had to systematically add jars to my WEB-INF/lib from the 2.09/lib folder
until things worked! Most of the instructions I found explained it in three
easy steps.

1) Add listener
  <listener>
    <listener-class>
       org.apache.struts2.tiles.StrutsTilesListener
    </listener-class>
  </listener>


2) Add plug-in
struts2-tiles-plugin-2.0.9.jar

3) A vague "good luck" on getting your tiles-defs, dtd's, and tld's in the
right places and with the correct DOCTYPE

Adding a feature should be clearly explained someplace!

--
Scott
stanlick@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.