Lesaint Sébastien wrote:

Thanks for your answer, but it doesn't make sense. I tried it though, it
doesn't work :)
I can't call http://www.myserver.com/webApp/login.do anymore if I use it.

It has to go through an action.

<action path="/login"
type="org.your.package.YourAction"
name="someForm"
scope="request"
validate="false">
<forward name="toLogin" path="tilesDef.pageModel.test"/> </action>


in YourAction you have to return to:

return(mapping.FindForward("toLogin"));


-----Message d'origine-----
De : Johannes Wolfgang Woger [mailto:[EMAIL PROTECTED] Envoyé : lundi 7 juin 2004 17:04
À : Struts Users Mailing List
Objet : Re: odd errors certainly related to Tiles and/or Struts, occurs o
nly with Mozilla




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