Dear friends

I have an applet which is talking to a servlet. The applet has following
piece of code

servletConnection.setDoInput(true);
servletConnection.setDoOutput(true);

Then there is a method called
readServletResponse(servletConnection);   which reads the response from the
servlet.

If I comment out the the call to this methos the communication does not take
place So I have to cal this method. Why is this?

However my original problem is that after I send the data to the servlet .
the servlet authenticates the user and dynamically generates a new HTML page
and writes it to the o/p stream.  I was expecting the HTML page to be
displayed. In normal circumstances the data is sent to the browser which
knows how to parse this data.

But in my case this o/p stream is connected to the applet therefore the
applet receives this data and does not know what to do with it.

In short in applet-servlet scenario how do I load a new HTML page on the
users browser?

Any help?

Nitin




________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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