This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Tiles and parameters
 
Similar Threads
Struts and Frameset
Problem With Tiles
Struts Tiles and Internationalization
struts tiles: would you recommend it?
Struts-Tiles problem