I have the following Code to get an object I stored in an ArrayList.
  <% MyClass myObject =(MyClass)session.getAttribute("session_my_object"); %>
  <%= myObject.getName() %>
I can successfully retrieve the name as shown in the secondline. However, when I attempt to access an arraylist named course_list, which happens to be a static member of myClass I am not getting any values from my jstl foreach iteration(shown in the code below).
 <table>
    <thead>
      <tr>
         <th>Course Code</th>
         <th>Course Description</th>
         <th>Course Type</th>
         <th>Select Course</th>
      </tr>
    </thead>
    <tbody>
     <c:forEach  var="course" items= "${myObject.course_list}" >
      <tr>
         <td><c:out value="${course.code}"></c:out></td>
         <td><c:out value="${course.name}"></c:out></td>
         <td><c:out value="${course.courseType}"></c:out></td>
     </tr>
  </c:forEach>
</tbody>
</table>
Kindly help me find a solution to the problem.
