hi this is the code i am using to display the text on the jsf webpage. i'm unsure on how to use a loop to get all of the previous messages to be viewed.
CAn someone please help

<%@ page contentType = "text/html"%>
<%@ page import = "java.util.*" %>

<%String password = request.getParameter("password");
String user = request.getParameter("id");%>
<p>The user is <%=user%></p>
<p>The password is <%=password%></p>

String msg = request.getParameter("message");

<%LinkedList<String> listing = new LinkedList();%>

<%Iterator<String> ir = listing.iterator();%>
<%while (ir.hasNext()){%>
<p>The message is <%=msg%></p>