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



Reply via email to