I want to check if the value of the variable equals any of the possible 4 values like val1,val2,val3 , val4 i.e. if the value is other than val4 then format the page in A format else format it in B format.
Thanks,
Trutpi
Thanks,
Trutpi
Originally posted by Bear Bibeault:
How would you construct such a test if you were writing a Java if statement?
Originally posted by Bear Bibeault:
If you are writing JSPs you need to have a copy of the JSP spec open on your desk. The section on the EL will let you know what operators exist that you can use.
Originally posted by Michael Ku:
you coiuld use the <c:choose> tag. It has c <c:otherwise> sub tag