• Post Reply Bookmark Topic Watch Topic
  • New Topic

EL: Comparing a string with a interface constant  RSS feed

 
Vadim Vararu
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I try to compare an integer (left operand) against other integer (constant of the HtmlMessageIds interface) and something goes wrong. Who knows what is the problem?
I checked if first comparison operand (left one) is OK and it really is, but when i try to print out the interface constant (right operand), it does not work.


Actually, the question is how to access from JSP, via EL static variables of classes, or interfaces?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please see this article.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!