The HttpMessage class (free source) from Jason Hunter's Servlet book
will do what you want.  It's essentially a post with binary stream.

Wendy

Salvatore Chieppa wrote:

> Hi Peter. Sorry for my question, but I have a problem that seems you have
> already resolved.
> How can you send an object to a servlet?
> Can you help me with some code you write?
> Many thanxs Peter.
> Cristiano
>
> emai:[EMAIL PROTECTED]
>
> Peter Martin wrote:
>
> > I am using an ObjectOutputStream to send an object to my servlet.
> >
> > I have discovered that there is a limit of 64k on the object size.
> >
> > Is there a way to send larger objects easily or do I have to write my own
> > Stream's to do this ?, if so can anyone point me in the right direction.
> >
> > Thanks
> > Peter.
> >
> > ___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to