How to proceed then depends on what kind of server you have. If it's FTP, then you do the upload via Commons Net. If it's HTTP (i.e., a servlet will receive the file), then you need Commons HttpClient in the applet, and Commons FileUpload in the servlet.
I tried <PARAM NAME = "postURL" VALUE ="http://localhost:8080/jupload/pages/parseRequest.jsp?URLParam=http://localhost:8080/jupload/uploaded">
but this doesn't work.
does someone know how to apply the syntax 'URLParam=URL+Parameter+Value'?
thank you a lot.
pj [ April 15, 2007: Message edited by: patric ]
Joined: Mar 22, 2005
Welcome to JavaRanch.
On your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.
As to your question, the javadocs for UploadPolicy state that " It contains the target URL toward which the files should be upload." So in your case I'm guessing that it might be something like "http://localhost:8080/jupload/pages/parseRequest.jsp", or wherever the server component is installed.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com