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

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

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

    /**
     * 
     */
    public ordersearch() {
        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 {
        HttpSession session = request.getSession();
        logger.info("jspMap: "+"list_orders.jsp"+request.getParameter("status"));
        Map m = (Map) session.getAttribute("list_orders.jsp"+request.getParameter("status"));
        m.remove("failed_orders");
        m.remove("passed_orders");
        m.remove("order_id");
    }

}
