private void CompanyDetailsHandler(HttpServletRequest request, HttpServletResponse response) {

    String companyCode = request.getParameter("companyCode");
    try {
      ResultSet companyDetails = CompanyManager.getCompanyDetails(companyCode);
      request.setAttribute("companyDetails", companyDetails);
      forward("/CompanyDetails.jsp", request, response);
    } catch (Exception e1) {
      // TODO Auto-generated catch block
      e1.printStackTrace();
    }
  }
  private void editCompanyHandler(HttpServletRequest request, HttpServletResponse response) {
    ResultSet companyCode = (ResultSet) request.getAttribute("companyCode");
    String code;
    try {
      code = companyCode.getString("Code");
      ResultSet companyDetails = CompanyManager.getCompanyDetails(code);
      request.setAttribute("companyDetails", companyDetails);
    } catch (SQLException e1) {
      // TODO Auto-generated catch block
      e1.printStackTrace();
    }

    try {
      forward("/EditCompany.jsp", request, response);
    } catch (ServletException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
  }