Check to make sure that your servlet is closing the output stream properly.
Balaji Bharadwaj wrote:
> Hi,
>
> I am having a problem with a stalled response from a servlet. Here is
> what i am doing.
>
> I am invoking a servlet with a GET method from an applet directing the
> applet
> to show the servlet response (HTML document) to a different frame in the
> browser.
> The applet does succesfully call up the servlet and the frame is
> refreshed but I get
> a message at the bottom of the Netscape browser stating that the
> response is
> stalled. I am not sure as to what could be going wrong since the servlet
> works fine
> when invoked directly. Here is the manner in which the servlet is called
> from the
> applet.
>
> form_string1="http://xyz.com:8008/servlet/myservlet?name=test1";
> try
> {
> servlet_request=new URL(form_string1);
> getAppletContext().showDocument(servlet_request,"bottom");
> }
> catch(MalformedURLException error)
> {
> System.out.println("ERROR: " + error);
> }
>
> Your responses is highly appreciated,
>
> Thanks,
> Balaji
> --
> Balaji Bharadwaj Tel:(313) 390-3892
> Visteon Automotive Systems
> Allen Park, MI 48101
>
> ___________________________________________________________________________
> 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