This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Tags

 
Jamie Lee
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

Does anyone know if there is any way to use the struts tag library to find out if a collection contains a value without iteration? The problem is that I can find out if a collection contains a value, but I don't know how to find out if a collection does not contain a value. I'm trying to avoid using scriptlets if possible...

Thanks!
Jamie
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To my knowledge, there is no Struts tag that will do this. If your application uses Servlet Version 2.4 or above, you could write your own JSTL function to do this. Otherwise, you're pretty much stuck with using a scriptlet.
 
Jamie Lee
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, thanks
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic