protected void showConfirmCall(HttpServletRequest req,
            HttpServletResponse res) throws ServletException, IOException {
        // //
        String nbestConf = (String) req.getParameter("nbestConf");
        System.out.println("N-Best with Conf: *******" + nbestConf + "********");
        
        String callerId = (String) req.getParameter("callerId");
        System.out.println("Caller Id: *******" + callerId + "********");
        
        String isDtmf = (String) req.getParameter("isDtmf");
        System.out.println("Input mode: *******" + isDtmf + "********");
        req.setAttribute("isDtmf",isDtmf);
        
        String nbest = (String) req.getParameter("nbest");
        System.out.println("N-Best: *******" + nbest + "********");
        
        if (nbest == null)
            return;
        
        int itemType = findItemType(nbest);
        if (itemType == TYPE_UNKNOWN) {
            req.setAttribute("failedToProcess", "true");
            showOperator(req, res);
            return;
        }
        
        // Revision Note: Instead of going to Operator when there's a mix of
        // contacts and entities,
        // at this point, assume the user wanted the contact more than an
        // entity. -- SimonT
        
        // Get the processing option
        int confirmation = CONFIRMATION_EXPLICIT;
        String _confirmation = (String) req.getParameter("confirmation");
        if ((_confirmation != null) && _confirmation.equals("0")) {
            confirmation = CONFIRMATION_IMPLICIT;
        }
        req.setAttribute("confirmation", String.valueOf(confirmation));
        
        if (itemType == TYPE_CONTACTS || itemType == TYPE_MIXED) {
            String[] contactIds = parseIds(nbest,
                    ContactController.CONTACT_PREFIX);
            
            showConfirmCallContacts(req, res, contactIds);
        } else if (itemType == TYPE_ENTITIES) {
            String[] entityIds = parseIds(nbest, EntityController.ENTITY_PREFIX);
            showConfirmCallEntities(req, res, entityIds);
        } else {
            // Oops should not get here..
            // //
            System.out
                    .println("Error: Something is wrong should never get here.");
            // /
        }
    }