Tiles 2 was updated between 2.0.6 - 2.0.9 and has slightly different tag attributes (and DTD? I don't recall...); check the Tiles documentation or look at the TLD.
d. --- rom3ro <[EMAIL PROTECTED]> wrote: > > Hello, > > I updgrade struts2.0.6 to struts2.0.9. > > All seem work expcet tiles plugin (render). > > /WEB-INF/tiles.xml (extract) > <definition name="global.welcome" > template="/view/tiles/layout.jsp"> > <put name="title" value="Welcome to RIC" > type="string"/> > <put name="header" > value="/view/tiles/header.jsp"/> > <put name="menutop" > value="/view/tiles/menutop.jsp"/> > <put name="menuleft" > value="/view/global/menuleft.jsp"/> > <put name="body" > value="/view/global/welcome.jsp"/> > <put name="footer" > value="/view/tiles/footer.jsp"/> > </definition> > > /view/tiles/layout.jsp (extract) > <%@ taglib uri="http://tiles.apache.org/tags-tiles" > prefix="tiles"%> > <%@ taglib prefix="s" uri="/struts-tags"%> > <%@ page contentType="text/html; charset=UTF-8"%> > > <tiles:importAttribute name="title"/> > <html> > <head> > > Exceptions: > 23 août 2007 12:07:45 > org.apache.catalina.core.ApplicationDispatcher > invoke > GRAVE: "Servlet.service()" pour la servlet jsp a > lancé une exception > javax.servlet.jsp.JspException: Attribute whith name > 'title' not found > > 23 août 2007 12:07:45 > org.apache.tiles.servlet.context.ServletTilesRequestContext > forward > GRAVE: Servlet Exception while including path > org.apache.jasper.JasperException: Exception in JSP: > /view/tiles/layout.jsp:5 > > 2: <%@ taglib prefix="s" uri="/struts-tags"%> > 3: <%@ page contentType="text/html; charset=UTF-8"%> > 4: > 5: <tiles:importAttribute name="title"/> > 6: <html> > 7: <head> > 8: <title>App:<tiles:getAsString > name="title"/></title> > > can you help me? > > thanks > > tibo > -- > View this message in context: > http://www.nabble.com/struts2.0.6--%3E-struts2.0.9-%3A-trouble-with-tiles-tf4316593.html#a12290913 > Sent from the Struts - User mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]