You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Hanmay Udgiri <ha...@gmail.com> on 2006/05/26 12:34:19 UTC

Two condition in logic:equal tag

Hi
i want to check two value for a logic tag.
like if(a==1 or a==2)Here a can have values from 1-10
How we can do this using logic:equal tag

-- 
Thanks and Regards
Hanmayya Udgiri

Re: Two condition in logic:equal tag

Posted by Rahul Akolkar <ra...@gmail.com>.
Please post such questions (and any replies in this thread) to the
user list. Having said that ...

On 5/26/06, Hanmay Udgiri <ha...@gmail.com> wrote:
> Hi
> i want to check two value for a logic tag.
> like if(a==1 or a==2)Here a can have values from 1-10
> How we can do this using logic:equal tag
>
<snip/>

Use JSTL [1] instead, as encouraged here [2].

-Rahul

[1] http://java.sun.com/products/jsp/jstl/
[2] http://struts.apache.org/struts-action/struts-taglib/dev_logic.html


> --
> Thanks and Regards
> Hanmayya Udgiri
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org