how to access attributes in request obj using jstl
843838Nov 14 2005 — edited Nov 14 2005Hi,
I would like to use <c:if> to test if a request.getAttribute("name") is null. I know how to check for the getParameter by using
<c:if test="${param.name != null >
but if the name was not saved by request.setParameter("name", value) instead, it was saved by request.setAttribute("name", value). How should I check if that attritue is null ?
Thanks a lot.
cc