NonStandardFile.jsp 851 Bytes
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ page import="weaver.templetecheck.filecheck.NonStandardFiles"%>
<%@ page import="com.alibaba.fastjson.JSONObject" %>
<%@ page import="weaver.hrm.User" %>
<%@ page import="weaver.hrm.HrmUserVarify" %>
<%
User user = HrmUserVarify.getUser (request , response) ;
if(user == null)  return ;
NonStandardFiles nonStandardFiles = new NonStandardFiles();
String tableStr = nonStandardFiles.getNonStandardFiles(user,"1");
JSONObject object = new JSONObject();
try {
	if(tableStr != null) {
		object.put("tablestring", tableStr);
		object.put("status", "ok");
		out.print(object.toJSONString());
	} else {
		object.put("status", "no");
		out.print(object.toJSONString());
	}
} catch(Exception e) {
	e.printStackTrace();
	object.put("status", "no");
	out.print(object.toJSONString());
}


%>