JSTL set tag
[nobr]Good afternoon,
How do I implement this correctly?I get the following error:
javax.servlet.jsp.el.ELException: Unable to find a value for "0" in object of class "java.lang.String" using operator "[]"
Any suggestions are appreciated. Thanks.
<body>
<c:set var="item" scope="page">
cat,dog
</c:set>
cat: ${item[0]}<br>
dog: ${item[1]}
</body>
[/nobr]

