Thanks, this is what I was lacking :)
On Thu, 29 Aug 2002, Pramod Nair wrote:
> >From what I've understood of this problem, your applet has collected user
> data and has invoked a servlet using a Socket or a UrlConnection . This
> would mean that the servlet would send back the response to the same applet.
> Now, it would be the responsibilty of your applet to handle this response.
> One possible method might be to use the
> getAppletContext().showDocument(java.net.URL) method in java.applet.Applet
>
> rgds
> Pramod Nair
>
> ----- Original Message -----
> From: "Sohaila Roberts" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 29, 2002 4:43 PM
> Subject: opening servlet results on new page
>
>
> > Hi, I have an applet that collects a bunch of info from a user and sends
> > it to a servlet. I want my servlet to then process this info and then
> > display the servlets results on another page. Right now what I've done in
> > my servlet is sent its output via
> > public void service (ServletRequest req, ServletResponse res )
> > throws ServletException, IOException
> > {
> > ObjectOutputStream out = new ObjectOutputStream(
> > res.getWriter());
> > out.println("my data");
> > out.close();
> > }
> >
> > but my browser just stays loaded with the applet..
> > I hope i'm making myself clear.. basically my out.println("my data");
> > line doesnt come up.
> > how do I do this?
> >
> > thanks
> > sohaila
> >
> >
> ___________________________________________________________________________
> > 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