hrmcardInfoToJson.jsp 654 Bytes
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ page import="java.util.*"%>
<%@ page import="weaver.hrm.resource.HrmListValidate"%>
<%@ page import="org.json.JSONObject"%>
<%
	HrmListValidate hrmListValidateObj = new HrmListValidate();
	
	Map<String,Object> userInfo = new HashMap<String,Object>();
	userInfo.put("messageshow",hrmListValidateObj.isValidate(31));
	userInfo.put("emailshow", hrmListValidateObj.isValidate(19));
	userInfo.put("workplanshow", hrmListValidateObj.isValidate(32));
	userInfo.put("coworkshow", hrmListValidateObj.isValidate(33));
	JSONObject obj = new JSONObject(userInfo);
	out.println(obj.toString());
%>