jQuery in Action, 3rd edition
The moose likes Struts and the fly likes Difference between logic:match and logic:equal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Difference between logic:match and logic:equal" Watch "Difference between logic:match and logic:equal" New topic

Difference between logic:match and logic:equal

Ramu Valivarthi
Ranch Hand

Joined: Apr 24, 2007
Posts: 37

Can Any one help me on this query
Difference between <logic:match> and <logic:equal>

Thanks in Advance
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The logic:equals tag causes the body of the tag to be rendered if the variable is exactly equal to the value you specify. the logic:match tag expects you to provide a regular expression as the value, and will match the variable you provide against that expression.
[ August 13, 2007: Message edited by: Merrill Higginson ]

Consultant, Sima Solutions
I agree. Here's the link: http://aspose.com/file-tools
subject: Difference between logic:match and logic:equal
It's not a secret anymore!