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

📄 applet_http_redirect.html

📁 both http and ftp file upload
💻 HTML
字号:
<html>
<style type="text/css">
<!--
.temp {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.style1 {color: #666666}
-->
</style>
<body>
<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="temp">
  <tr>
    <td align="center"><strong><br>
    - jClientUpload Applet (HTTP upload with redirect URL sample) - <br>
    </strong></td>
  </tr>
  <tr>
    <td align="center"><p><br>
<!-- jClientUpload Applet : Begin copy/paste -->
  <SCRIPT LANGUAGE="JavaScript"><!--
    var _info = navigator.userAgent;
    var _ns = false;
    var _ns6 = false;
    var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);
    if (_info.indexOf("Opera") > 0) _ie = false;
  //--></SCRIPT>
    <COMMENT>
        <SCRIPT LANGUAGE="JavaScript1.1"><!--
        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"><!--
    if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = "250" HEIGHT = "250" NAME = "clientupload"  codebase="http://java.sun.com/update/1.4.2/jinstall-1_4-windows-i586.cab#Version=1,4,0,0"><NOEMBED><XMP>');
    else if (_ns == true && _ns6 == false) document.writeln('<EMBED \
	    type="application/x-java-applet;version=1.4" \
            CODE = "javazoom.upload.client.MApplet.class" \
            JAVA_CODEBASE = "./" \
            ARCHIVE = "lib/jclientupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar" \
            NAME = "clientupload" \
            WIDTH = "250" \
            HEIGHT = "250" \
            url ="http://localhost:8080/uploadbean/process.jsp" \
            paramfile = "uploadfile" \
            param1 = "todo" \
            value1 = "upload" \
            forward ="http://localhost:8080" \
            forwardparameters ="true" \
            mode ="http" \
	    scriptable=true \
	    pluginspage="http://java.sun.com/products/plugin/index.html#download"><NOEMBED><XMP>');
  //--></SCRIPT>
  <APPLET  CODE = "javazoom.upload.client.MApplet.class" JAVA_CODEBASE = "./" ARCHIVE = "lib/jclientupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar" WIDTH = "250" HEIGHT = "250" NAME = "clientupload"></XMP>
    <PARAM NAME = CODE VALUE = "javazoom.upload.client.MApplet.class" >
    <PARAM NAME = CODEBASE VALUE = "./" >
    <PARAM NAME = ARCHIVE VALUE = "lib/jclientupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar" >
    <PARAM NAME = NAME VALUE = "clientupload" >
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">
    <PARAM NAME="scriptable" VALUE="true">
    <PARAM NAME = "url" VALUE="http://localhost:8080/uploadbean/process.jsp">
    <PARAM NAME = "paramfile" VALUE="uploadfile">
    <PARAM NAME = "param1" VALUE="todo">
    <PARAM NAME = "value1" VALUE="upload">
    <PARAM NAME = "forward" VALUE="http://localhost:8080">
    <PARAM NAME = "forwardparameters" VALUE="true">
    <PARAM NAME = "mode" VALUE="http">
  </APPLET>
  </NOEMBED>
  </EMBED>
  </OBJECT>
<!-- jClientUpload Applet : End copy/paste -->
        <br>
        <br>
        <span class="style1">current url=http://localhost:8080/uploadbean/process.jsp<br>
(Modify both <u>url</u> parameters in this HTML source code to fit your server-side) </span>        <br>
      </p>
    </td>
  </tr>
  <tr>
    <td align="center"><p><b><br>
    </b>
</p>
      <p><b>jClientUpload Applet</b><br>
Homepage : <a href="http://www.javazoom.net/applets/jclientupload/jclientupload.html" target="_blank">http://www.javazoom.net</a> <br>
<br>
</p>
      <p>This product requires <a href="http://www.java.com" target="_blank">Java</a>&#8482; technology. </p></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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