On 12/16/05, Per Jørgen Walstrøm <[EMAIL PROTECTED]> wrote:
> hello,
> there used to be a taglib called request, which is now deprecated 
> (http://jakarta.apache.org/taglibs/doc/request-doc/intro.html). Request had a 
> tag called existsAttribute which was very handy. It could be used like this:
>
> <request:existsAttribute name="geMenuItem" value="true">
>    <!-- do something -->
> </request:existsAttribute>
>
> Does anybody have a suggestion of what taglib to use instead of request?
>
<snip/>

JSTL may suit your needs for this particular example, something to the
effect of:

<c:if test="${not empty requestScope.geMenuItem}">
  <!-- do something -->
</c:if>

-Rahul


> cheers,
> pj
>

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

Reply via email to