<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@page import="java.sql.*"%> FReD <% { String agree = request.getParameter("agree"); { if (agree != null) { response.sendRedirect("index2.jsp"); } else{ out.println("

You have not agreed to the terms of use. Please go back and check the box, or visit another site"); } } } %>