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


<html>
<body>
<%@ 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()){%>
<%listing.add(msg);%>
<%=msg%>
<%}%>
<p>The message is <%=msg%></p>


</body>
</html>