Antonio Petrelli a écrit :
2007/10/6, Baptiste GAILLARD <[EMAIL PROTECTED]>:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE tiles-definitions PUBLIC
       "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
       "http://tiles.apache.org/dtds/tiles-config_2_0.dtd";>

<definition name="homepage" template="/index2.jsp">
        <put-attribute name="header" value="/header.jsp" />
        <put-attribute name="leftmenu" value="/leftmenu.jsp" />
        <put-attribute name="centerarea" value="/centerarea.jsp" />
        <put-attribute name="rightmenu" value="/rightmenu.jsp" />
        <put-attribute name="footer" value="/footer.jsp" />
</definition>

Your tiles-defs.xml file is invalid, the root element must be
"tiles-definitions".
Anyway it's strange: did you turn off validation of the file?

Antonio

Oh! Thank you, I've replaced "definitions" by "tiles-definitions" and it works ! But, I do not turn off validation on this file so I do not understand why no errors where reported for this file.

Baptiste.

Reply via email to