I think the problem was due to my having an include file in the footer that
was commented out:
<!--
<jsp:include page="outputSession.jsp" />
-->
It seems this isn't the way to comment out stuff in jsp? Why it worked for
some pages and not others I still have no idea - the only thing I can think
is that i may have been looking at cached pages for the ones that worked?
Thanks,
Andy
From: "Marco Mistroni" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: "'Struts Users Mailing List'" <user@struts.apache.org>
Subject: RE: Spooky Tiles problem
Date: Tue, 7 Jun 2005 11:11:58 +0100
Hello,
I had similar problem in the past...
Do you have any request attributes /session attributes /appcontext
attributes
That you are using in that page?
Regards
marco
-----Original Message-----
From: andy wix [mailto:[EMAIL PROTECTED]
Sent: 07 June 2005 11:08
To: user@struts.apache.org
Subject: Spooky Tiles problem
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(InsertTa
g.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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Winks & nudges are here - download MSN Messenger 7.0 today!
http://messenger.msn.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]