in addition, try replacing pageContext.getAttribute with .findAttribute.
findAttribute searches all of page, request, session and application scope, in that order. In case <c:forEach>, <c:set> etc. happen to stick things in request scope by default, pageContext.getAttribute will return null but findAttribute would work.
-- Bill

<c:set var="userRows" value="${requestScope.Users}" />
.....
     <c:forEach var="User" items="${userRows } "
varStatus="idx">
     <% User user = (User)pageContext.getAttribute(
"user" ); %>

I don't use this method at all (I prefer jsp:useBean), but maybe the "user" in 
getAttribute() should be capitalized as "User"?

- Scott


--
Bill Schneider
Chief Architect

Vecna Technologies
5004 Lehigh Rd.
College Park, MD 20740
[EMAIL PROTECTED]
t: 240-737-1640
f: 301-699-3180


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to