struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julia Weaver <>
Subject tiles and validation problem
Date Thu, 13 May 2004 15:10:10 GMT

Thank you very much for any help!

In my struts-config.xml, I have:
<forward name="error"  path=""/>

In my tiles-defs.xml, I have:
 <definition name="mainLayout" path="/gtsLayout.jsp">
	  <put name="title"  value="my First Definition Page"
	  <put name="header" value="/common/Header.jsp" />
	  <put name="footer" value="/common/footer.jsp" />
	  <put name="menu"   value="/menu.jsp" />
	  <put name="body"   value="/indexBody.jsp" />

<definition name="" extends="mainLayout" >
  <put name="title" value="edit po" />
  <put name="body"  value="/EditPO.jsp" />

In my formbean, I have:
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {...

But when validate error, It only shows EditPO.jsp, not
able to display menu.jsp and Header.jsp

Thank you very much for any help!

Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2' 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message