JSTL can't access variables created in scriptlet. It can only accses scoped attributes. The easiest way to get a
java object into a space that jstl can access is by a setAttribute() call.
<%
String [] tipReport = {"Transaction Detail","Reference/Batch Summary","Card Type Summary"};
pageContext.setAttribute("tipReport", tipReport);
%>
<c:out value="${tipReport[0]}" />
The <c:set> tag works well if what you are after is a string, and you nest it between like this: <c:set var="userName"><%= user.getName() %></c:set>
But it won't work in this case.
[ May 02, 2006: Message edited by: Stefan Evans ]