Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

logic: equal ignore case  RSS feed

 
Venkata Sirish
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i need a logic tag to do a case insensitive check like ( String equalsIgnoreCase method).

Can any one help me out .

Thanks in advance,
Guru
 
Anirvan Majumdar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"equalsIgnoreCase", AND-ing, OR-ing are but one of the many shortcomings, which has led to an increased adoption of JSTL tags as the preferred set tags while developing JSPs.

If migrating to JSTL is not a feasible option for you, then I fear you can either (a) write a Java scriptlet to implement your logic, or (b), extend the "logic" taglib library and put in your own implementation of "equalsIgnoreCase" within the TLD.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!