First, why in the world are you overriding service()? Second, from your code snippet, it's no wonder the browser is remaining unchanged. You have not set the content type, and you have not defined the variable "out." This wouldn't even compile.
Post all of the relevant code if you would like some help; it's impossible to tell what you are doing wrong as is. Mark -----Original Message----- From: Sohaila Roberts [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 12:43 PM To: [EMAIL PROTECTED] 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
