Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between logic:match and logic:equal  RSS feed

 
Ramu Valivarthi
Ranch Hand
Posts: 37
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can Any one help me on this query
Difference between <logic:match> and <logic:equal>



Thanks in Advance
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!