You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Cristiano Monteiro dos Santos <cr...@atech.br> on 2003/07/29 21:32:47 UTC

logic:equal?

Hi there, guys.

Is there a way to use the tag logic:equal to compare session or request variables with a value?

Thanks a lot!
CMS

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


Re: logic:equal?

Posted by David Graham <gr...@yahoo.com>.
--- Cristiano Monteiro dos Santos <cr...@atech.br> wrote:
> Hi there, guys.
> 
> Is there a way to use the tag logic:equal to compare session or request
> variables with a value?

http://jakarta.apache.org/struts/userGuide/struts-logic.html#equal

Although I recommend using the JSTL's <c:if> tag instead because it's
shorter, easier to use, and more powerful.

David

> 
> Thanks a lot!
> CMS
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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