My form POJO:
public class FileUploadForm {
@FormParam("file")
@PartType(MediaType.APPLICATION_OCTET_STREAM)
private byte[] data;
@FormParam("user")
@PartType(MediaType.TEXT_PLAIN)
private String user;
@FormParam("password")
@PartType(MediaTy
I solved this problem as follows:
I handcrafted the class
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootEleme
I'm surprised this doesn't work, as I coded for it, and I thought we had
a unit test for it.
So, its the form parameter that doesn't show up, correct? Query
parameters in Resteasy come directly from parsing the request URI.
On 1/23/2013 4:49 AM, Weinan Li wrote:
> Thanks Denica! I've assigned
Thanks Denica! I've assigned this issue to me and will work on it.
--
Weinan Li
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Wednesday, January 23, 2013 at 5:20 PM, Denica Gencheva wrote:
> >
> > Could you please explain why you need to send "action" parameter both in
> > reque
>
>
> Could you please explain why you need to send "action" parameter both in
> request param and in form param?
>
I don't need to, but when I expose a web service people hit it like this
and in the HTTP RFC this is no forbidden. However we opened task about
this: https://issues.jboss.org/browse/