struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiuma <ki...@usa.net>
Subject [STRUTS] help with tag lib
Date Mon, 16 Sep 2002 11:52:48 GMT
Can someone explain how to use the tag form of the following code?

<%
   
    if ( (request.getSession().getAttribute("user.list") != null) )
    {
        UserData uData = new UserData( 
0,"name1","name2","cf","piva","address",
            "zip","city","state","country","tel","mail","web" );
        Collection cUsers = 
(Collection)request.getSession().getAttribute("user.list");
        Iterator iter;
        String style;
        boolean  pink=false;
        iter = cUsers.iterator();
        String rowparity = "";
%>


I use the following but it's a wrong solution

<c:forEach items="${user.list}" var="userData">
    <B>NOME</B>
    <b><c:out value="${userData.name1}"/></b><br/>
</c:forEach>

Can You help me please ?


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message