<%@ page contentType="text/html;charset=utf-8" %> <%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %> <%@ page import="com.kingdee.eas.cp.common.web.config.PortalXmlConfiguration" %> <%@ page import="com.kingdee.eas.cp.common.web.config.EasWebClientConfigItem" %> <%@ page import="java.util.StringTokenizer" %> <%@ page import="java.util.Vector,java.util.Locale,org.apache.struts.Globals" %> <%@ page import="com.kingdee.eas.cp.autoupdater.util.IPMapUtil" %> <%@ page import="com.kingdee.util.Configuration" %> <%@ page import="java.util.Locale" %> <%@ page import="com.kingdee.util.ConfigurationItem" %> <%@ page import="com.kingdee.eas.cp.common.web.util.WebContextUtil,com.kingdee.eas.cp.common.web.util.PortalPersonalSetUtil" %> <%@ page import="com.kingdee.eas.cp.eip.sso.util.EASWebContextUtil"%> <% String localeStr = (String)request.getParameter("locale"); Locale locale = new Locale("l2"); if(localeStr!=null&&!"".equals(localeStr)){ locale = new Locale(localeStr.toLowerCase()); } session.setAttribute(Globals.LOCALE_KEY,locale); EasWebClientConfigItem clientConfig = PortalXmlConfiguration.getInstance().getEasWebClientConfigItem(); // onlybos String appflag="EAS"; boolean isonlybos = false; String onlybos = System.getProperty("isOnlyBOS"); if (null != onlybos && !"".equals(onlybos) && !"no".equalsIgnoreCase(onlybos)) { isonlybos = true; appflag ="BOS"; } String _serverName = request.getServerName(); if(_serverName == null || "".equals(_serverName) ) { _serverName = "localhost"; } String _serverPort = Integer.toString(request.getServerPort()); if(_serverPort == null || "".equals(_serverPort) ){ _serverPort = "6888"; } String _webSite =(String)request.getParameter("webSite"); if (_webSite==null||"".equals(_webSite)){ _webSite = PortalXmlConfiguration.getInstance().getEasWebClientConfigItem().getUrl() ; } //if don't set in web.xml,set the same value as self jsp if(_webSite == null || "".equals(_webSite)){ _webSite = "http://" + _serverName + ":" + _serverPort ; } // jack_wu support https 20090417 String kdtool = "setup.exe"; // if(rqurl.startsWith("https")){ kdtool="/eassso/"+kdtool; // } String _remoteAddress = request.getRemoteAddr(); String _fileServerUrl = IPMapUtil.getIPMapValue(_remoteAddress); if(_fileServerUrl==null||"".equals(_fileServerUrl)){ //ipmap is null and download path use relative address directly // add by jack_wu talk about this problem with yxw and tgw _webSite=""; _fileServerUrl = _webSite+"/easWebClient"; } String ieUrl = clientConfig.getIeUrl(); if(ieUrl==null || "".equals(ieUrl)){ //ieUrl = "/download/IE6SP1.zip"; ieUrl = "http://www.microsoft.com/"; } if(!ieUrl.startsWith("http:")){ ieUrl = _fileServerUrl + ieUrl; } String portalClient = clientConfig.getJrePluginDefaultUrl(); if(portalClient==null || "".equals(portalClient)){ portalClient = "/download/portalClient_1-4-2-04.exe"; } portalClient = _fileServerUrl + portalClient; // String jre = clientConfig.getJrePluginUrl();; if(jre==null || "".equals(jre)){ jre = "/download/install_EAS_Client_JDK.exe";; } //isonlybos if(isonlybos){ jre = "/download/install_BOS_Client_JDK.exe"; } jre = _fileServerUrl + jre; String jreVersion = clientConfig.getJreVersion(); if(jreVersion==null || "".equals(jreVersion)){ jreVersion = "1.4.2_04"; } jreVersion = "JDK" + jreVersion; String webControl = clientConfig.getWebControlUrl(); if(webControl==null || "".equals(webControl)){ webControl = "/download/webControl_2-11-15-0.exe"; } webControl = _fileServerUrl + webControl; String clientPackage = clientConfig.getEasClientPackageUrls(); boolean bPackage = true; Vector packages = new Vector(); clientPackage = "/download/install_EAS_Client_Simple.exe"; String fullPackage =_fileServerUrl+"/download/install_EAS_Client_Full.exe"; if(isonlybos){ clientPackage = "/download/install_BOS_Client_Simple.exe"; fullPackage =_fileServerUrl+"/download/install_BOS_Client_Full.exe"; } bPackage = false; if(bPackage && clientPackage.indexOf(",")>-1){ StringTokenizer st = new StringTokenizer(clientPackage,","); while(st.hasMoreTokens()){ packages.add( _fileServerUrl +st.nextToken()); } }else{ bPackage = false; clientPackage = _fileServerUrl + clientPackage; } int nSize = packages.size(); String loginLogoUrl = PortalPersonalSetUtil.getAttribute(request, "picture" , "help_title_logo", "color", WebContextUtil.getColorSchema(request), 1, locale); // modify by liang yongyuan for BUG BT399642 in 2010.06.23 String visible = PortalPersonalSetUtil.getAttribute("picture", "help_title_logo", "visible"); %>
<% String version=(String)session.getAttribute("version"); if (version!=null&&"true".equals((String)session.getAttribute("errVer"))){ out.println(""); out.println("��ǰie�汾"+version); out.println(",ϵͳ������Ҫie6.0���ϰ汾֧�֣�"); out.println(""); } %>
IE6.0
<%=jreVersion%>
<%if(!bPackage){%>
JDK1.6.0_1+<%=appflag%>
JDK1.6.0_1+<%=appflag%>
<%}else if(nSize>0){ %> <% for(int i=0; i
<%=order%> <% } } %>