This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pass a parameter to value in logic:lessThan

 
albert kao
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to pass a parameter to value in logic:lessThan?
i.e. logic:lessThan will use a variable (not a constant) in value.
I tried the following code but it does not work at run time : the logic:lessThan test always fail.
jsp:
 
Joe Ess
Bartender
Posts: 9312
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't start a new topic when you have a previous topic open. It will waste peoples' time and duplicate any effort in this topic.
I will lock the other topic.
As for your question, the documentation says:
The constant value to which the variable, specified by other attribute(s) of this tag, will be compared

so it sounds like the value attribute must be a "constant".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic