We've been on Struts 2.0.6 and a Tiles 2.0 pre-release (2.0-20070207.130156-4) for a while now in the Roller trunk. After seeing the recent news about XSS dangers we decided to upgrade to 2.0.9. before we make our next release.
So I downloaded 2.0.9. First, I found that the old Tiles listener "org.apache.tiles.listener.TilesListener" is gone. After some googling, I changed the listener to this: <listener> <listener-class>org.apache.struts2.tiles.StrutsTilesListener</listener-class> </listener> That worked and once I made that change, Tomcat was able to deploy Roller. I could view blog pages, but when I tried to access a Struts page I got this error in the logs (on a page that worked perfectly before the upgrade). And the page is unable to find any of its tiles. DEBUG 2007-08-03 17:34:03,725 BasicTilesContainer:render - Dispatching to definition path '/WEB-INF/jsps/tiles/tiles-simplepage.jsp ' ERROR 2007-08-03 17:34:05,180 RoleSecurityTagSupport:doEndTag - Error executing tag: Attribute 'head' not found. org.apache.tiles.TilesException: Attribute 'head' not found. at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:112) at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171) ... After some more googling and gnashing of teeth, I tried changing the root package in my Struts config file to extend "tiles-default" instead of "struts-default" like so: <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <!-- Weblogger default package --> <package name="weblogger" namespace="/roller-ui" extends="tiles-default"> ... But I got the same result. Any idea what I might be doing wrong? - Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]