This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Tiles and parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiles and parameters" Watch "Tiles and parameters" New topic
Author

Tiles and parameters

Franck Tranchant
Ranch Hand

Joined: Aug 07, 2003
Posts: 75
Hi
I would like to use simple Tiles implementation in my JSPs.
Something like basic includes :
<tiles:insert page="/header.jsp" flush="true" />
I would like to add some parameters too :
<tiles:insert page="/header.jsp?userId=123" flush="true" />
Now, does anybody know how to use dynamic parameters ?
Something like :
<%
String userId = "123";
%>
<tiles:insert page="/header.jsp?userId=<%=userId%>" flush="true" />
(Of course, this code sample doesn't work)

Thanx


Franck<p>--------------------
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Tiles and parameters
 
It's not a secret anymore!