I came across two flaws in the documentation (that cost me an hour), and I'm not sure how/who to ask to be able to commit fixes, so here they are:

On page: http://tiles.apache.org/tutorial/basic/pages.html

Under "create definition"

1) the web.xml snippet references "<servlet-class>org.apache.tiles.servlet.TilesServlet</servlet-class>" which does not appear to exist. I pulled the source and found a TilesServlet under org.apache.tiles.web.startup.TilesServlet. I replaced with this new package, and it seemed to work.

2) the /WEB-INF/tiles-defs.xml example seems to need <tiles-definitions>'s wrapping the <definition>.


-Abram Catalano

Reply via email to