Hi, Let me makes things more clear.
My main tiles file - Should i place the errorPage attribute here ? <tiles:insert page="/templates/myTemplate.jsp"> <tiles:put name="header" content="/includes/header.jsp"/> <tiles:put name="side_menu" content="/includes/side_menu.jsp"/> <tiles:put name="contents" content="/contents/my_contents.jsp"/> <tiles:put name="footer" content="/includes/footer.jsp"/> </tiles:insert> My content file i.e., my_contents.jsp Should i place the errorPage attribute here ? <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <html:form action="/myAction"> <html:textarea property="name" cols="40" rows="5"></html:textarea> <html:form> One point to note is that my errorpage also has a main tiles file and a content file describing the error. So my error page (main tiles file) path is /errorPage.jsp and path for content page of error is /contents/errorPage_contents.jsp Regards, Janarthan S -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 12:44 PM To: [EMAIL PROTECTED] Subject: SV: Tiles - Specify Error page ? Hi On each and every .jsp file Hermod -----Opprinnelig melding----- Fra: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED] Sendt: 14. april 2004 08:16 Til: Struts Users Mailing List Emne: Tiles - Specify Error page ? Hi, I am using Tiles that comes bundled with struts1.1. I have a main template file for my jsp's. All my jsp's have a left navigation, a header section, a footer section and a content section. Given a jsp page, I have a main tiles file in which i specify these settings. I want to specify an error page for all my jsps. My question is where do i specify the errorPage attribute ? Should it come in the main tile file or the content file of the JSP ? Any help appreciated. Thanks & Regards, Janarthan S. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that DnB NOR cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --------------------------------------------------------------------- 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]