setNoJSObjectSupportPostUrl Method

 Object: UploadClient
 Syntax: void setNoJSObjectSupportPostURL(String url)
 Returns: void
 Description:

setNoJSObjectSupportPostURL sets the URL to which a file or files will be posted if the client system is Mac + IE or Windows/Unix/Linux + Netscape 6.x. 

If you wish to display results to a Mac or Netscape 6.x user, you must have a separate processing page for uploads from these clients.  This processing page writes results to a file in a virtual directory 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 use both the setPostURL and set NoJSObjectSupportURL methods.  If the client system supports JSObject, only setPostURL will be used.  If the client system does not support JSObject, then setNoJSObjectSupportURL will be used. 

See also, PostURL, NoJSObjectSupportPostURL, setPostURL 

 

Previous Page Next Page