15

来源:互联网 发布:网络用语的意思? 编辑:程序博客网 时间:2024/05/08 05:03
            // 获取语种
               String nls = (String) session.getAttribute(SupportConstants.CFG_NLS);
                  if (null != nls && "".equals( nls.trim()))
                  {
                      nls = "en";
                  }
           json.put("lang", nls);

           IPoApplyWsProxy iPoApplyWsProxy=new IPoApplyWsProxy();
           String output = iPoApplyWsProxy.
              getSecondCheckerInfo(json.toString());

           resultData.put("jsonData", (new JSONObject(output)).toString());
               resultData.put(CheckConstant.RESULT_CODE, CheckConstant.RESULT_CODE_SUCCESS);
           Integer records = (Integer)new
              JSONObject(output).get("total_row");
           request.setAttribute("totalRow", records);
           out.write(resultData.toString());
     }

   catch (Exception e)
     {
             resultData.put(CheckConstant.RESULT_CODE, CheckConstant.RESULT_CODE_EXCEPTION);

         out.print(resultData.toString());
         e.printStackTrace();
     }
     finally
     {
         out.close();
     }

    return null;
}

原创粉丝点击