struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k3v1n <>
Subject include tag problem
Date Mon, 27 Jun 2011 09:52:51 GMT
Hi all,

I need help, please.

I have collection of User object... In my jsp page, I have foreach block for
print all user contains in my collection. I want use other jsp for print it!

For example:

Collection<User> users = (Collection<User>)request.getAttribute("users");
Iterator<User> it = users.iterator();

while (it.hasNext())
	User user =;
<s:include value="user.jsp">
	<s:param name="user" value="user"></s:param> ?????


I want use include page for print single user. Is it possible?

How pass I my user object to user.jsp? And then, how I can get user param in

Thanks in advance

View this message in context:
Sent from the Struts - User mailing list archive at

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

View raw message