Instead of printing a function, why not write the value of a variable that can be read from the document's onload event.
Since you only need one test, you could probably do away with the c:choose and just use a c:if tag that changes the resultsEmpty to true.
Joined: Apr 27, 2007
I tried what you've suggested.. When I add resultsEmpty=false line into c:choose and ctherwise, it just prints it.. It never sets the value..