Hi sohaila,
I don't know Y U R trying something like
"ObjectOutputStream" ?
may be you can send something more intractive for your
poor client . anyway :
there is nothing special to do with your Servlet.

you can easily use document.show ([URL], [Target]);
(if I can remember) . here [url] specifies a link to
your servlet, and [Target] here could be _BLANK to
open a new window. it could be anything else to make a
window with that name (not starting with underline).

Babak Vandad

--- Sohaila Roberts <[EMAIL PROTECTED]>
wrote:
> 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
>


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

___________________________________________________________________________
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

Reply via email to