摘要: PrintWriter out = response.getWriter(); out.print("<script> alert('您还没有登录,请登录...'); window.location='***.jsp' </script>"); out.flush(); out.close(); 阅读全文
posted @ 2020-09-26 19:02 墨白95 阅读(1405) 评论(0) 推荐(0) 编辑
摘要: package com.mobai.util; //实际使用时MAC地址差1 import java.net.NetworkInterface;import java.net.SocketException;import java.util.Enumeration; public class Get 阅读全文
posted @ 2020-09-26 19:00 墨白95 阅读(397) 评论(0) 推荐(0) 编辑
摘要: //如下打开的是C盘String path="c:\"Runtime runtime= Runtime.getRuntime(); Process process=null; path = "rundll32 url.dll FileProtocolHandler file://" + path; 阅读全文
posted @ 2020-09-26 18:58 墨白95 阅读(189) 评论(0) 推荐(0) 编辑