Bo Xu wrote:
>
> Hi :-) from several emails in Servlet-List, I also find the following about
> using serializable object in Applet-Servlet communication:
>
> - con.setRequestProperty("CONTENT-TYPE",
> "application/x-java-serialized-object");
> - con.setRequestProperty("CONTENT_TYPE", "application/octet-stream");
>
> and from Jason Hunter's book, P296,
> con.setRequestProperty("CONTENT_TYPE",
> java-internal/"+obj.getClass().getName());
>
> Bo
> Apr.03, 2001
In the 2nd Edition of my book (coming out this week I'm told!) I've
switched to application/x-java-serialized-object. That's the type Sun
refers to in their Javadocs.
In case anyone wants to preorder. :-)
http://www.amazon.com/exec/obidos/ASIN/0596000405/jasonhunter
http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=0596000405&from=AEH935
Note that Amazon has an updated book description but FatBrain still uses
the 1st Edition's description.
-jh-
___________________________________________________________________________
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