You could also package the vector contents into XML and send it via HTTP.

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's
> Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Nic
> Ferrier
> Sent: Thursday, May 11, 2000 12:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: passing a vector to the servlet
>
>
> >>> "Amin, Nariman" <[EMAIL PROTECTED]> 11-May-00 5:45:21 PM >>>
>
> >I'd like to know how I can pass a vector from the
> >applet to the servlet.
>
> Cheeck the archives: there is lots of discussion about this.
>
> Basically: yes - it is possible; no - it isn't easy.
>
> Detail:
> you have to pass objects across HTTP - that means that you have to
> serialize the Vector across the stream associated with the HTTP
> connection and then un-serialize it at the servlet end.
>
> You probably have to use multipart requests to do that.
>
>
>
> Nic
>
> ______________________________________________________________
> _____________
> 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