It's simple, use a JSTL+Servlet approach as shown as following article:
http://avatar21.superihost.com/index.php?entry=entry070114-070222
here's how you do it in the JSTL:
<c:if test="${not empty sessionScope['messageQ']}">
<c:forEach var="customMessage" items="${sessionScope['messageQ']}">
<c:out value="${customMessage}"/>
</c:forEach>
</c:if>
Hope this help!
Regards,
Avatar Ng
Message was edited by:
Avatar_Ng