@SuppressWarnings("deprecation")
  @RequestMapping(params = "method=getfilepath")
  public void getExpFilePath(HttpServletRequest request, HttpServletResponse response) {
    String filePath = "";

    String description = request.getParameter("description");

    Map<String, Object> params = new HashMap<String, Object>();
    params.put("description", description);

    List<MobileAppConfig> list = mobileAppConfigService.findForUnPage(params);

    if (list.size() > 0) {
      try {
        String path = request.getRealPath("/") + "userfile\\xls";

        filePath = mobileAppConfigService.ExpExcel(list, path);

      } catch (Exception e) {
        // TODO: handle exception
        System.out.print(e.getMessage());
      }
    }

    try {
      filePath = response.encodeURL(filePath);
      response.getWriter().write(filePath);
    } catch (Exception e) {
      // TODO: handle exception
      System.out.print(e.getMessage());
    }
  }