I guess the OutputStream can be used to write html data which has an applet tag,
but as far as the applet using a block of data as a parameter, that parameter
does not get streamed as the original object. For example, Applet needs Object
TableModel to fill a JTable. How do you use the OutputStream to write this? You
need to send HTTP response - you need to write HTML/XML to the browser.
- steve
"Preston L. Bannister" <[EMAIL PROTECTED]> on 11/08/99 03:48:44 PM
Please respond to "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Steve Buonincontri)
Subject: Re: Applet to Bean communication
From: Steve Buonincontri
> How can you use ObjectOutputStream over HTTP?
Hint:
ServletResponse.getOutputStream()
or:
ObjectOutputStream out = new ObjectOutputStream(
response.getOutputStream()
);
For more detail do some research. This has been described many times in
books, on web pages, in newsgroups, and in the archives of this mailing
list.
___________________________________________________________________________
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