Hi I am quite new to taglibs. I want to print values in vector or Iterator. If I use the following code it is not displaying any thing please help me.
Thanks, Murali <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> <html> <body bgcolor="#FFFFFF"> <%! java.util.Vector v = new java.util.Vector(); %> <% v.addElement("Garre"); v.addElement("Rama"); v.addElement("Murali"); v.addElement("Mohan"); %> <c:forEach var="s" items="${v}"> <c:out value="${s}"> </c:out> </c:forEach> </body> </html> =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com