<%@ page language="java" %>
<%@ page import="JavaBeans.*"%>

<jsp:useBean id='customer_interface' scope='session' class='JavaBeans.Customer_Interface'/>

<jsp:useBean id='customer_data' scope='session' class='JavaBeans.Customer_Data'/>
<jsp:setProperty name='customer_data' property="*"/>

<jsp:useBean id='creditcard_data' scope='session' class='JavaBeans.CreditCard_Data'/>
<jsp:setProperty name='creditcard_data' property="*"/>

<jsp:useBean id='address_data' scope='session' class='JavaBeans.Address_Data'/>
<jsp:setProperty name='address_data' property="*"/>

<jsp:useBean id='coffeepreference_data' scope='session' class='JavaBeans.CoffeePreference_Data'/>
<jsp:setProperty name='coffeepreference_data' property="*"/>
<!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<%customer_data = new Customer_Data(); %>
<%creditcard_data = new CreditCard_Data(); %>
<%address_data = new Address_Data(); %>
<%coffeepreference_data = new CoffeePreference_Data(); %>

<%if(request.getParameter("action").equals("Logout")){
customer_interface.processRequest(request.getParameter("action"),customer_data,creditcard_data, address_data, coffeepreference_data);
}
%>

<!-- Copyright (c) 2002 by ObjectLearn. All Rights Reserved. -->

<html>
	<head>
		<title>Logout</title>
	</head>
	<body>
		<table align="center" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td><p align="center"><img src="CoffeeBanner.gif"></p>
				</td>
			</tr>
			<tr>
				<td bgcolor=#F0F8FF><br><font face="Geneva, Arial, Helvetica, sans-serif"><p align="center"><font size="-1" face="Geneva, Arial, Helvetica, sans-serif">
					<p align="center"><font  size = "-1"><i><b>Thank you for using the Coffee Purchasing Application.</b></i></font></p>
					</font>
				</td>
			</tr>
			
		</table>
	</body>
	
</html>