Tiles. using action for attribute value.try making straight call to
header.jsp, it should work.
OR
if you must need Struts Controller in call to header.jsp, use "include"
(instead of forward) in your header.do action mapping.

hth
navjot singh
  -----Original Message-----
  From: deepaksawdekar [mailto:[EMAIL PROTECTED]
  Sent: Monday, August 18, 2003 6:37 PM
  To: [EMAIL PROTECTED]
  Subject: Tiles. using action for attribute value.


  I am using tiles Using struts for the page layout



  I am using following jsp file to insert the approprate files

  <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

  <tiles:insert page="/common/layout.jsp" flush="true">
    <tiles:put name="header" value="/header.do" />
    <tiles:put name="leftmenu" value="/common/leftmenu.jsp" />
    <tiles:put name="body-content" value="/contacts/createContactbody.jsp"
/>
    <tiles:put name="footer" value="/common/footer.jsp" />
  </tiles:insert>

  I am getting following error
  Exception in:/Header.do] Cannot forward after response has been committed
  Am i doing something wrong.



  Thanks and Regards

  Deepak

Reply via email to