Lesaint Sébastien wrote:

Hi,

A little more information.

My investigation lead me to the conclusion that this error is somehow
related to Tiles includes.

When requesting the page with mozilla, I noticed there is a delay between
the time the text is visible and the time the browser stop loading and the
error is logged on the server. It might not be relevant though...

I reproduced the bug with the minimum code.
------------------------------------
I'm using a Struts action forwarding to a Tiles def, my struts-config has
the following code :
<action forward="tilesDef.pageModel.test" path="/login" />

try
<action forward="/login" path="tilesDef.pageModel.test"/>

Wolfgang


------------------------------------ The Tiles def is as follow in the Tiles-def.xml file : <definition name="tilesDef.pageModel.test" path="/layout/pageModelTest.jsp"> <put name="pageFooter" value="/footer.jsp" /> </definition>

------------------------------------
The pageModelTest.jsp page : <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>


<html:html>
<head>
<html:base />
</head>
<body topmargin="0" leftmargin="0" bgcolor="#FFFFFF">


<table border="0" cellspacing="0" cellpadding="0"> <tr> <td><tiles:insert attribute="pageFooter" flush="true" /></td> <td width="1"><img src="" width="1" height="1"></td> </tr> </table>

</body>
</html:html>
------------------------------------

Note : the bug does not appear when pageModelTest.jsp does not contain the
<tiles:insert> tag.

------------------------------------
The footer.jsp page : <br><br>
<center><i>Copyright my company</i></center>


Note : the bug does not appear when I directly request footer.jsp.


I'm completely clueless on the subject now... :(

Please help,





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



Reply via email to