Michael,
Here's the jsp I'm using. It's straight from the book:
&%@ page import="java.util.*" %>"
&!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd">
&html>
&body>
&h1 align="center">Beer Recommendations Page</h1>
&%
List styles = (List)request.getAttribute("styles");
Iterator it = styles.iterator();
while (it.hasNext() ){
out.print("
try sampling: " + it.next() );
}
%>
&/body>
&/html>
I don't think I mentioned it, but I'm using the bundled version
of
Tomcat with Netbeans. I figure it's just a setting somewhere,
but not sure where.
Thanks,
John