I have a few doubts on c:set tag in JSTL
1) Can a <c:set> tag be used to assign an attribute List or Array as value
[i.e. <c:set var="list" value=some_array_or_list />
2) How does the container differentiate between an EL expression and a normal
Java String in the value attribute of the <c:set> tag
For instance,
<c:set var="name" value="${person.name}" />
Here how does the container knows that ${person.name} is to be evaluated
even though ${person.name} is a valid Java String
3) In page 445 of HFSJ under the "With Body" topic of <c:set> tag
we have
<c:set var="userLevel" scope="session">
Sheriff,Bartender,Cowgirl
</c:set>
should the values be taken as an "Array" Object or a "String" Object
with comma separated values
Could someone throw some light to get my doubts cleared
Thanks
Muthu