摘要:
public class HttpUtil { public static String getIpAddr(HttpServletRequest request) { String ip = request.getHeader("x-forwarded-for"); if (ip == null 阅读全文
摘要:
public enum InputTypeEnum{ /** * 表单字段输入框类型枚举 */ TEXT("文本", new String[]{""}, true), PASSWORD("密码", new String[]{""}, true), DATE("日期", new String[]{"" 阅读全文
摘要:
public static void main(String[] args) { Map m = new HashMap(); for (int i = 0; i < 7; i++) { Map map = new HashMap(); map.put(i, i); m.put(i, map); } 阅读全文