The problem is that a Tiles definition is not a valid URL but an
identifier that only Tiles can understand.
The simplest thing you can do is making a simple JSP page with this code:
(obviously include the "struts-tiles.tld" tag library)

<tiles:insert definition="doc.csr.body" />

and include this REAL page (with a valid URL I mean) in your frameset (for
example using the html:frame tag).
Ciao
Antonio Petrelli

Ashutosh Satyam wrote:

>Hi,
> Below is my tiles-defintion.
>
>  <definition name="SubsSrch" path="/WEB-INF/mainLayout.jsp">
>    <put name="title" value="My Title" />
>    <put name="mainMenu" value="/menupanel.jsp" />
>    <put name="mainHeader" value="/header.jsp"/>
>    <put name="mainBody" value="doc.csr.body"/>
>    <put name="mainFooter" value="/footer.jsp"/>
>  </definition>
>
>  <definition name="doc.csr.body" path="/WEB-INF/configLayout.jsp">
>    <put name="tab" value="/WEB-INF/pages/userTab.jsp"/>
>    <put name="body" value="/WEB-INF/pages/userSearch.jsp"/>
>  </definition>
>
>>From the action class, I make a forward to definition 'SubsSrch'.
>The call does get forwarded to this definition. Apart from the 'mainBody'
>which points to the definition 'docs.csr.body' all other contents are
>shown.
>
> 'docs.csr.body' is the actual content page. On the brower it shows me
>
> HTTP Status 404 - /doc.csr.body
> description: The requested resource (/doc.csr.body) is not available
>
>One more point - /WEB-INF/mainLayout.jsp ---- is divided into 4 frames.
>                        'mainBody' constitutes one of this frame, which
is supposed to use
>                        a different layout.
>
>Kindly suggest is my understanding wrong?
>What is the correct solution to achieve this?
>
>Regards,
>Ashutosh
>


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

Reply via email to