Sorry, small typo - you'll want to use "${empty param.name}" in the c:when test="" attribute.

Brice Ruth wrote:

<c:choose>
   <c:when test="empty param.name">
      <c:set var="varName" value=""/>
   </c:when>
   <c:otherwise>
      <c:set var="varName" value="value"/>
   </c:otherwise>
</c:choose>

[EMAIL PROTECTED] wrote:

Using the <c:set .../> tag (or any other currently available tag for that matter) is it possible to check if a parameter is not null and if so populate the var OR if it is null, populate with an empty string?

Thanks,
Rod





-- Brice D. Ruth Sr. IT Analyst Fiskars Brands, Inc.



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



Reply via email to