@Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        String method = request.getParameter("method");
        String data = request.getParameter("data");
        
        request.setAttribute("data", request.getParameter("data"));
            
        if("Filter".equals(request.getParameter("method"))){
            if("yahooFinance".equals(request.getParameter("data")))
                request.getRequestDispatcher("/testing/filterTesting_yahoofinance.jsp").forward(request, response);
            else if("SqlServer".equals(request.getParameter("data")))
                request.getRequestDispatcher("/testing/filterTesting_db.jsp").forward(request, response);
        } 
        if("MA".equals(request.getParameter("method"))){
            if("yahooFinance".equals(request.getParameter("data")))
                request.getRequestDispatcher("/testing/maTesting_yahoofinance.jsp").forward(request, response);
            else if("SqlServer".equals(request.getParameter("data")))
                request.getRequestDispatcher("/testing/maTesting_db.jsp").forward(request, response);
        }
        if("RSI".equals(request.getParameter("method"))){
            if("yahooFinance".equals(request.getParameter("data")))
                request.getRequestDispatcher("/testing/rsiTesting_yahoofinance.jsp").forward(request, response);
            else if("SqlServer".equals(request.getParameter("data")))
                request.getRequestDispatcher("/testing/rsiTesting_db.jsp").forward(request, response);
            ;
        }
    }