This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes How to pass a parameter to value in logic:lessThan Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to pass a parameter to value in logic:lessThan" Watch "How to pass a parameter to value in logic:lessThan" New topic
Author

How to pass a parameter to value in logic:lessThan

albert kao
Ranch Hand

Joined: Feb 04, 2010
Posts: 245
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

Joined: Oct 29, 2001
Posts: 8915
    
    8

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".


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to pass a parameter to value in logic:lessThan