aspose file tools*
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
Author

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 ]

Merrill
Consultant, Sima Solutions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Difference between logic:match and logic:equal