pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Guretzki <Thomas.Guret...@tik.info>
Subject AW: File upload per rfc 1867?
Date Sat, 12 Mar 2011 23:33:34 GMT
Hi Bill,
 
you might want to take a look at the client part of the jersey libraries (core+client jars)
at http://jersey.java.net/   .
Not too exceedingly documented, but very sophisticated for every kind of HTTP-based
communication (server side too).
 
Cheers
 
Thomas

________________________________________
Von: Greg Brown [gk_brown@verizon.net]
Gesendet: Samstag, 12. März 2011 22:29
An: user@pivot.apache.org
Betreff: Re: File upload per rfc 1867?

There is no built-in support in Pivot for HTML form POSTs. You might be able to build such
support on top of the PostQuery class - OTOH, there's probably at least one existing Java
library that supports this. I think I'd probably look into that before I tried to write my
own.

On Mar 11, 2011, at 10:37 PM, Bill van Melle wrote:

I want to be able to upload a file to my server.  I followed the instructions in a thread
from last year (http://apache-pivot-users.399431.n3.nabble.com/How-to-post-file-by-pivot-tp881253p887553.html),
but found to my chagrin that this doesn't post in the standard html forms way (using Content-Type
= multipart/form-data), but rather posts just a single element.  Is there any support in Pivot
for the RFC 1867 way (http://tools.ietf.org/html/rfc1867), or am I going to have to roll my
own?


Mime
View raw message