logo


Installation - MyUploader
General
Depending on the version and edition you are using you need to change the name of the jar file in the following examples. See for the correct file name the zip file you have bought or downloaded.

Example 1
This is the standard configuration. The applet tag is given with the required param tags, uploadURL and successURL. The myuploader-free-signed-v161.jar is located in the same directory as the html-file.

<applet name="uploadApplet" 
     code="javaatwork.myuploader.UploadApplet.class" 
     archive="myuploader-free-signed-v161.jar, labels.jar" 
     width="400"  height="250">
        <param name="uploadURL" value="http://www.mycompany.com/upload/upload.do">
        <param name="successURL" value="http://www.mycompany.com/upload/result.html">
</applet>
basic configuration

Example 2
The congifuration is similar to example 1, with the exception that the jar is stored in a separate directory "applets". You will then be required to enter the param "codebase" - which is a relative URL to the html file.

<applet name="uploadApplet" 
     code="javaatwork.myuploader.UploadApplet.class" 
     codebase="applets/" 
     archive="myuploader-free-signed-v161.jar, labels.jar" 
     width="400" height="250">
        <param name="uploadURL" value="http://www.mycompany.com/upload/upload.do">
        <param name="successURL" value="http://www.mycompany.com/upload/result.html">
</applet>
configuration where jar is stored in seperated directory

Example 3
You can change the language by adding the language file (in this case the French language file) to the archive param and by adding the language param.

<applet name="uploadApplet" 
     code="javaatwork.myuploader.UploadApplet.class" 
     archive="myuploader-free-signed-v161.jar, labels.jar, labels_fr.jar" 
     width="400" height="250">
        <param name="uploadURL" value="http://www.mycompany.com/upload/upload.do">
        <param name="successURL" value="http://www.mycompany.com/upload/result.html">
        <param name="language" value="fr">
</applet>
configuration with a language file

Example 4
This example adds the 'cookie' param to the configuration. The 'cookie' param is given through the use of Javascript.

<script type="text/javascript">
document.write('<applet name="uploadApplet" code="javaatwork.myuploader.UploadApplet.class" 
   archive="myuploader-signed-signed-v155.jar, labels.jar" width="400"  height="250">');
   document.write('<param name="uploadURL" 
       value="http://www.mycompany.com/upload/upload.do">');
   document.write('<param name="successURL" 
       value="http://www.mycompany.com/upload/result.html">');
   document.write('<param name="cookie" 
       value="' + document.cookie + '">');
document.write('</applet>');
</script>
session enabled configuration

dot