| Author |
Struts Tags
|
Jamie Lee
Greenhorn
Joined: Jan 31, 2007
Posts: 17
|
|
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
Joined: Feb 15, 2005
Posts: 4864
|
|
|
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.
|
Merrill
Consultant, Sima Solutions
|
 |
Jamie Lee
Greenhorn
Joined: Jan 31, 2007
Posts: 17
|
|
Ok, thanks
|
 |
 |
|
|
subject: Struts Tags
|
|
|