struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janarthan Sathiamurthy" <>
Subject Tiles - Moving from jsps to tiles definitions
Date Wed, 09 Jun 2004 09:32:29 GMT

I am using tiles in Struts1.1.
Earlier i used to write all the definitions in a jsp file like -

String contentURL = ...... // Is calculated using some logic in this page itself
<tiles:insert page="/templates/my_template.jsp">
	<tiles:put name="title">My Page</tiles:put>
	<tiles:put name="header" content="/includes/header.jsp"/>
	<tiles:put name="imageName" content='<%=request.getContextPath() +"/images/hdrcust_cust_care.gif"%>'
	<tiles:put name="side_menu" content="/includes/support_side_menu.jsp"/>
	<tiles:put name="contents" content="<%= contentURL %>"/>
	<tiles:put name="footer" content="/includes/footer.jsp"/>

Now i am planning to move to definitions.
How do i handle cases like the dynamic calculated URL ?
Any Suggestions ?

Thanks & Regards,

Janarthan S.
MphasiS India Pvt. Ltd.
Architecting Value
SEI-CMM Level  5   ISO 9001
2nd Floor, The Leela Business Park,
Andheri Kurla Road, Andheri (E),
Mumbai 400 059,
Maharashtra, INDIA.
Tel: +91-22- 56777777
Fax: +91-22- 56777700 

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

View raw message