Yes, I suppose I can do that. However, what I don't know how to do is how
to stream the hmtl that the applet gets back from the servlet to a new
browser window.
Any advice or suggestions on this?
Thanks for your help!
-- karin --
-----Original Message-----
From: <Katrina Chiang> [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 17, 1999 11:44 AM
To: [EMAIL PROTECTED]
Subject: Re: Servlet Output to new Target Browser
why don't you let servlet put the html content in an object send
use http object send back to the applet? You can avoid the use
of temporary file.
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Huegele, Karin N.
Sent: Friday, September 17, 1999 7:05 AM
To: [EMAIL PROTECTED]
Subject: Servlet Output to new Target Browser
Importance: Low
Hello All!
I was wondering if somebody might have a better solution to the problem that
I have:
What I need to do is send data from an applet to a servlet, then have the
servlet format the data and launch a new browser window to display the
formatted data.
The solution that I came up with is:
1. open url connection from the applet to the servlet
2. send serialized object from the applet to the servlet
3. Servlet formats the data and outputs to a temporary html file
4. Servlet sendRedirect the url of the temporary file back to the applet
5. Applet reads the url and retrieve it using
getAppletContext.showDocument() to a new browser window.
I hate having to use temporary files for this. I can see that it will give
me a lot of headaches. Is there a better solution?
Thanks in advance!
-- karin --
______________________________________
Karin Huegele
Qwest Communications International, Inc.
Voice: (210) 323-3722
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
______________________________________
___________________________________________________________________________
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