how to check a 'set' variable in Struts tag/JSTL

2004-07-19 Thread lixin chu
hi, how to check a 'set' variable using JSTL or Struts tags ? for example, I have a variable called 'Roles' which is a Set. In a JSP, I want to check if 'Admin'/'Guest'/'User' is in the Set. How do I do this ? Could not find a suitable tag to handle this. thanks li xin

Re: how to check a 'set' variable in Struts tag/JSTL

2004-07-19 Thread Rick Reumann
lixin chu wrote: for example, I have a variable called 'Roles' which is a Set. In a JSP, I want to check if 'Admin'/'Guest'/'User' is in the Set. How do I do this ? Could not find a suitable tag to handle this. Unfortunately I haven't found a tag in JSTL or Struts that does this (I think there