Re: How to send binary data in a form field via Java

2011-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paritosh, On 7/15/2011 11:23 AM, Paritosh Patel wrote: > The client specified content-type to be > "application/x-www-form-urlencoded" right now, but I have tried > several others. Note that application/x-www-form-urlencoded requires that you proper

Re: How to send binary data in a form field via Java

2011-07-15 Thread Thad Humphries
If you are sending binary data--say because you user is downloading a file, or your servlet is writing a image--you need to open a javax.servlet.ServletOutputStream ( http://download.oracle.com/javaee/6/api/javax/servlet/ServletOutputStream.html ). On Fri, Jul 15, 2011 at 11:23 AM, Paritosh Patel

RE: How to send binary data in a form field via Java

2011-07-15 Thread eurotrans-Verlag
Hi, > -Original Message- > From: Paritosh Patel [mailto:xygnu...@gmail.com] > Sent: Friday, July 15, 2011 5:24 PM > To: users@tomcat.apache.org > Subject: How to send binary data in a form field via Java > > I apologize in advance if this is not the correct mail list for such a > question