NoJSObjectSupportPostURL Parameter

 Applet: UploadClient
 Description:

The NoJSObjectSupport parameter specifies the URL to which a file or files will be posted if the client machine is:

  • Mac + Internet Explorer
  • Windows/Unix/Linux + Netscape 6.x
  • Sun's JVM

If you wish to display results to a Mac, Netscape 6.x or Sun JVM user, you must have a separate processing page for uploads from these clients.  This processing page writes results to a file on the server (and then redirects to the results page) rather than the usual method of streaming the results to the client by generating HTML.  This is because these client systems do not support the JSObject which would allow the applet to directly display the response it receives from the server.  For a detailed explanation and instructions, see Uploading from Mac or NS6.

If you wish to support users with a variety of client systems, you should set both the postURL parameter and the NoJSObjectSupportURL parameters.  If the client system supports JSObject, only postURL will be used.  If the client system does not support JSObject, then NoJSObjectSupportURL will be used. 


If the client system does not support the JSObject, and the NoJSObjectSupportURL is not set or is set incorrectly, postURL will be used and no response will be displayed.

Note for Mac support:  In addition to using the NoJSObjectSupportPostURL parameter, a different jar file must be referenced in the applet tag.  See Uploading from Mac or NS6.   

 Example:

<APPLET height="250" width="300" codebase="/JFileSamples" code="softartisans.filetransfer.UploadClient.class" name="UploadClient" archive="filetransfer.jar" mayscript VIEWASTEXT id= "Applet1">

<param name="UseAppletInBrowser" value=1>

<param name= "cabbase" value="filetransfer.cab">

<param name="NoJSObjectSupportPostURL" value="formrespAlt.asp">

<param name="postURL" value="formresp.asp">