2007/10/18, Marchioni Francesco <[EMAIL PROTECTED]>:
>
> Hi all,
> I have an action class which sets some attributes
>
> request.setAttribute("pValueIn", vFlagms);
>
> then it forwards to a jsp page.
>
> Now I'd like to use logic:equal (or another struts tag) which controls the
> value of this field
>
> <logic:equal name="pValueIn" value="VC4S">
> OK
> </logic:equal>
>
> but unfortunately I can see "OK" get always printed. Whatever value is the
> parameter. (Even with another parameter name)



It does not make sense, the way  you specify "logic:equal" is correct,
but....
I once had a similar problem, and in that case I forgot to specify the
taglib in the JSP page.
Are you sure you specified the "logic" tag library correctly?

Antonio

Reply via email to