Hi there,

I'm using JSTL (I'm sorry if this issue is not about struts), and I have a
JSP page witch contains a JSTL code :

<c:forEach var="name"
                             items="${pageContext.request.attributeNames}">
                    Name:  ${name}
                    Value: ${requestScope[name]}<br>
                  </c:forEach>

but when I want to call this page from my browser, I'm getting this error :

searchUser.jsp:25:30: Static attribute must be a String literal, its illegal
to specify an expression.
                             items="${pageContext.request.attributeNames}">
                             ^---^


can someone help me

thanks
-- 


Cordialement

Mohamed

Reply via email to