/*
 * 
 * Created on May 29, 2005
 * 
 * Gy�rgy S�veges
 * Etixpert Kft.
 * Copyright(c) 2005
 * 
 */
package com.etixpert.evolution.gui.servlets.pageactions;

import javax.servlet.http.*;
import javax.servlet.*;

/**
 * @author Suveges Gyorgy
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class ordercancel extends PageActionHandler {

    /**
     * 
     */
    public ordercancel() {
        super();
        // TODO Auto-generated constructor stub
    }

    /* (non-Javadoc)
     * @see com.etixpert.evolution.gui.servlets.pageactions.PageActionHandler#handle(javax.servlet.http.HttpServletRequest)
     */
    protected void handle(HttpServletRequest request, HttpServletResponse response) throws Exception {
        logger.info("Canceling order");
        HttpSession session = request.getSession();
        session.removeAttribute("new_order_person_select.jsp");
        session.removeAttribute("new_order.jsp");
        logger.info("order canceled");
    }

}
