Ronnie,

What do you see that makes you think the tiles request is bring processed
twice?  Perhaps that indicator can help us determine your problem.

Regards,
David

-----Original Message-----
From: Ronnie Arosa [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 20, 2005 6:19 AM
To: Struts Users Mailing List
Subject: TilesRequestProcessor is executed twice


Hello everybody,
I'm working in a struts application with tiles and modules. It’s my first
time working with tiles and I felt into a problem: the TilesRequestProcessor
is called twice. This happens when I forward my actions to a tile. If the
same action is forward to a simple page (i.e. a jsp page) everything goes
normally. 
Here is one of my actions’ definition:

<action path="/myRequest" type="com.indicusoft.struts.myRequestAction">
        <forward name="failure" path="myRequest.page"></forward>
        <forward name="success" path="myRequest.page"></forward>
</action>

And this is my tiles’ definition file:
<definition name=".mainLayout" path="/common/classicLayout.jsp">
        <put name="title" value="My application"></put>
        <put name="header" value="/common/header.jsp"></put>
        <put name="menu" value="/commons/blank.jsp"></put>
        <put name="footer" value="/common/footer.jsp"></put>
        <put name="error" value="/common/error.jsp"></put>
        <put name="body" value=""></put>
</definition>

<definition name="myRequest.page" extends=".mainLayout">
        <put name="title" value="Request Page"></put>
        <put name="body" value="/myRequest.jsp"></put>
</definition>

Thanks in advance.
Ronnie.




---------------------------------------------------------------------
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]

Reply via email to