Hi Steve,

Thank you for your reply, I found the HTTP library you mention, inside the
'sandbox' SVN repositories (for future reference).

SVN Url is http://svn.apache.org/repos/asf/ant/sandbox/antlibs/http/trunk

Out of curiousity, is there a location with pre-built jars that I could have
used?  I was not sure how to initiate the build because the top-level build
shows an error (default target dist does not exist in this project), so I
changed it from "distrib" to "distribution" which successfully built (after
having to change from the JRE to JDK).

Now that it's built, it looks like from the http-antlib-html that the
HttpPost will enable me to upload a file, or parameters, but not both.  So,
if I wanted to send the same data as one of my forms that contained say a
username, password, id and image file, how can I do this in one operation?

If I have to split them up, that would be ok, but I would still need to pass
some sort of identifier for the file being uploaded? The file is intended to
be a sealed JAR file.  I can consider hacking it such that the JAR is
bundled inside a temporary jar that contains some metadata, but isn't there
another (better?!) way of doing this?

(PS Whats do you think the reason is for the restriction on upload v
parameters?)

Many thanks,
Rob.

Reply via email to