<%@ page errorPage="errorpge.jsp" %>
<%
String name = null;
if (request.getParameter("name") == null) {
%>
<%@ include file="/jsp/error/error.html" %>
<%
} else {
foo.setName(request.getParameter("name"));
if (foo.getName().equalsIgnoreCase("integra"))
name = "acura";
if (name.equalsIgnoreCase("acura")) {
%>
Yes!!! Acura is my favorite car.
<%
}
}
%>