<%@ page import="com.sinosoft.lis.pubfun.GlobalInput" %> <%@ page import="com.sinosoft.utility.XssUtil" %> <%@ page import="java.sql.SQLOutput" %> <%@ page language="java" contentType="text/html; charset=utf-8" isELIgnored="false" pageEncoding="utf-8"%> EasyScan <%--样色表,需要后台调整颜色#8CAAE7; --%> <% // en 英文 // zh-hans 简体中文 // zh-hant 繁体中文 // GlobalInput tG1 = (GlobalInput)session.getAttribute("GI"); GlobalInput tG1 = (GlobalInput)session.getAttribute("GI"); String clientUrl = request.getRequestURL().toString(); clientUrl = clientUrl.substring(0,clientUrl.indexOf("easyscan/")); //生产环境使用grouplis.xxxx.com 之类的域名,并且配置了https访问,但是经过负载后,到了系统,获取到的协议是http,所以这里做一下特殊处理,这不是好的方法,但是也是无奈之举 if(clientUrl.contains("grouplis")){ clientUrl = clientUrl.replace("http","https"); } // clientUrl = "https://grouplis.fz.com/"; // String clientUrl = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/"; %> <%--调用方法样本,需要根据实际情况修改传入参数--%>