Hi,

I am getting an exception when loading a page of Tiles.

The error shown in the jsp page is:
javax.servlet.jsp.JspException: ServletException in '/footer.jsp': null
at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:921)
        at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460)
        at _layout._jspService(_layout.java:120)
        [SRC:/layout.jsp:100]

Line 100 of the layout.jsp is:
<DIV>
 <td class="footer" height="26"><tiles:insert attribute="footer" /></td>
</DIV>

The tile def is:
<definition name="fulluser.tree" path="/layout.jsp">
 <put name="header" value="/header.jsp" />
 <put name="body" value="/tree.jsp" />
 <put name="footer" value="/footer.jsp" />
</definition>

<definition name="fulluser.addUser" extends="fulluser.tree">
 <put name="body" value="/test.jsp" />
</definition>

test.jsp is:
<p>HELLO</p>

It is seemingly not dependant upon the jsp inserted.
The same layout file works fine for other tiles. (fulluser.tree does not have the same problem and inserts the same footer.jsp file).

I am entirely baffled!

Thanks,
Andy

_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now! http://toolbar.msn.co.uk/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to