response.setContentType("text/html");
pw=response.getWriter();
pw.println("<html><body>");
.. ..
pw.println("</body></html>");
However, I just could not have the newly generated HTML displayed.
In my Applet, I tried to use "showDocument(url, "_blank")" to display it,
where "url" is the same URL used to successfully transfer the parameters
from Applet to Servlet. While, I got an exception:
---------------------------------------------------------------------------
HANDLER THREAD PROBLEM: java.io.IOException: Socket Closed
java.io.IOException: Socket Closed
at java.net.PlainSocketImpl.getInputStream(Unknown Source)
at java.net.Socket$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.Socket.getInputStream(Unknown Source)
at
com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:161)
----------------------------------------------------------------------------
---------
Then the new IE browser told me that the file is not available.
Any suggestions?
Thanks!
Jason
Thanks!
"Jason" <jz...@dental.temple.edu> wrote in message
news:9k3te6$fni$1...@cronkite.temple.edu...