ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Wilson" <>
Subject Re: Fwd: Ant - invoke a servlet?
Date Thu, 18 Oct 2007 12:40:42 GMT
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

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

Many thanks,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message