Shouldn't your test be:
<c:choose>
<c:when test="${empty requestScope.create}">hello</c:when>
<c:otherwise>goodbye</c:otherwise>
</c:choose>
As you've set this as a Request attribute
Regards
Duncan Mills
andy wix wrote:
Hi,
The following expression always evaluates to true even though I can
see the create parameter in the request.
<%@ taglib uri="jstl/c" prefix="c" %>
<c:choose>
<c:when test="${empty param.create}">hello</c:when>
<c:otherwise>goodbye</c:otherwise>
</c:choose>
I set the parameter up in the previous action with:
request.setAttribute("create","create");
Any ideas?
Thanks,
Andy
_________________________________________________________________
Express yourself with cool new emoticons
http://www.msn.co.uk/specials/myemo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]