java 获取来源页面:System.out.println("header"+request.getHeader("Referer")); js获取 :document.write(document.referrer);