⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 launchvpnclientcontent.jspf

📁 这是linux下ssl vpn的实现程序
💻 JSPF
字号:
<%@ page import="com.sslexplorer.security.Constants" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="/sslexplorer/taglibs/explorer" prefix="explorer" %>
<%@ taglib uri="/sslexplorer/taglibs/security" prefix="security" %>

<% System.err.println("*** Showing launch VPN client **"); %>
<div id="page_launchVPNClient">
<security:vpnClientAvailability requiresClient="false">
	<div class="dialog_content">
								<!--"CONVERTED_APPLET"-->

<IE:clientCaps ID="oClientCaps" />
<script language="JavaScript" type="text/javascript"><!--
    var _info = navigator.userAgent;
    var _ns = false;
    var _anyjvm = navigator.javaEnabled();
    var _ns6 = false;
    var _msjvm = true;
    var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);
    if(_ie && _anyjvm) {
	    try {
		    if(java.lang.System.getProperty("java.vendor.url").indexOf("http://www.microsoft.com/") == -1) {
		    	_msjvm = false;
		    }
		}
		catch(e) { 
		}
    }
    else {
       _msjvm = false;
    }
    
//--></script>
    <comment>
        <script language="JavaScript" type="text/javascript"><!--
        var _ns = (navigator.appName.indexOf("Netscape") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0) || (_info.indexOf("AIX") > 0) || (_info.indexOf("OS/2") > 0) || (_info.indexOf("IRIX") > 0)));
        var _ns6 = ((_ns == true) && (_info.indexOf("Mozilla/5") >= 0));
//--></script>
    </comment>

<script language="JavaScript" type="text/javascript"><!--
    if(!_msjvm) {
	    if (_ie == true) document.writeln('<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="160" HEIGHT="30" NAME="VPNLauncher" ALIGN="middle" VSPACE="0" HSPACE="0" codebase="http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=5,0,0,9"><noembed><xmp>');
	    else if (_ns == true && _ns6 == false) document.writeln('<embed ' +
		    'type="application/x-java-applet;version=1.5" \
	            CODE="com.sslexplorer.vpn.launcher.VPNLauncher" \
	            ARCHIVE="/applets/launcher.jar" \
	            NAME="VPNLauncher" \
	            WIDTH="250" \
	            HEIGHT="64" \
	            ALIGN="middle" \
	            VSPACE="0" \
	            HSPACE="0" \
	            cabbase="/applets/launcher.cab" \
	            ticket="<bean:write name='pendingVPNTicket' scope='session'/>" \
	            autoStart="true" \
	            returnTo="<%= request.getAttribute(Constants.REQ_ATTR_LAUNCH_VPN_CLIENT_REFERER) %> " \
	            debug="<explorer:getProperty propertyName="client.debug"/>" \
	            proxyURL="<explorer:clientProxyURL/>" \
	            monitor="true" ' +
	            'userAgent="' + _info + '" ' +
		    'scriptable=false ' +
		    'pluginspage="http://java.sun.com/products/plugin/index.html#download"><noembed><xmp>');
    }
//--></script>
	<applet  CODE="com.sslexplorer.vpn.launcher.VPNLauncher" ARCHIVE="/applets/launcher.jar" WIDTH="250" HEIGHT="64" NAME="VPNLauncher" ALIGN="middle" VSPACE="0" HSPACE="0">
	    <param name="CODE" value="com.sslexplorer.vpn.launcher.VPNLauncher"/>
	    <param name="ARCHIVE" value="/applets/launcher.jar"/>
	    <param name="NAME" value="VPNLauncher"/>
	    <param name="type" value="application/x-java-applet;version=1.5"/>
	    <param name="scriptable" value="false"/>
	    <param name="cabbase" value="/applets/launcher.cab"/>
	    <param name="ticket" value="<bean:write name='pendingVPNTicket' scope='session'/>"/>
	    <param name="autoStart" value="true"/>
	    <param name="returnTo" value="<%= request.getAttribute(Constants.REQ_ATTR_LAUNCH_VPN_CLIENT_REFERER) %> "/>
	    <param name="debug" value="<explorer:getProperty propertyName="client.debug"/>"/>
	    <param name="proxyURL" value="<explorer:clientProxyURL/>"/>
	    <param name="monitor" value="true"/>
	    <param name="userAgent" value="<%= request.getHeader("User-Agent") %>"/>
    </applet>
</noembed>
</embed>
</object>    
</div>
</security:vpnClientAvailability>

<script language="JavaScript" type="text/javascript"><!--
    if((_ie && !document.VPNLauncher) || (!_ie && !_anyjvm)) {
	   document.writeln('<br/><table width="70%" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td class="plainText" colspan="7"><bean:message key="launchVPNClient.noJVM" bundle="navigation"/></td></tr></table>');
	}
//-->
</script>
</div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -