I don't think I understand your idea.
Are you suggesting that there is a way for the applet to pass parameter to
the servlet and specify the target window for the response from the servlet?
-----Original Message-----
From: Slava Kozlov [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 17, 1999 10:36 AM
To: [EMAIL PROTECTED]
Subject: Re: Servlet Output to new Target Browser
> -----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 10: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?
>
Couldn't you just send the serialized object as a param to the servlet
directly
(meanwhile launching a new browser window)?
-s
___________________________________________________________________________
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