<html>
<head>
<title>List Selection JSP Demo</title>
</head>
<body bgcolor="gray">
<h2 style="color:white">You selected the following colors:</h2>
<b>
<%
String[] colors = request.getParameters("colorList");
if (colors != null && colors.length > 0)
{
for (int i=0; i<colors.length; i++)
{
out.println("<font size=+2 color=" + colors[i] + ">");
out.println(colors[i]);
out.println("</font><br>");
}
}
%>
</b>
</body>
</html>