Hi David,

I met the same problem, and now I just know :-):

1.
I think "one HTTP transaction" includes "request+response", if your servlet
doesn't "response anything:-)", the browser will "when ever you go, what ever
you do, I will be right here waiting for you:-) :-)"

2. if you use "applet -servlet",  I suggest you "look:-)" the following lines:

...
URL url=new URL("http://IPAddr:port/servlet/myservlet");
URLConnection urlc=url.openConnection();
urlc.connect();  //so the "response of your servlet has been "received by "urlc"

URL url2=new URL("http://...");  //   >...load another page immediately after
the servlet starts..."
getAppletContext().showDocument(url2);
...

I test the above in:
a. winnt40+IE5
b.winnt40+Netscape4.7
c. solaris7+hotjava1.0.2
(WEB Server is : solaris7+Javca WEB Server2.0)

3.
if you use "HTML-servlet", I don't know how to do it:-)



Bo
May 01,2000



Kevin Mukhar wrote:

> David Du wrote:
> >
> > Thanks
> > Hi, I am running a problem with servlet, I have a servlet which get data
> > from one backend database and send the data to another database, this
> > process is done when users browser our website. My issue is that I don't
> > have any data sent back to the browser displayed on a page, but the server
> > is trying to send back an empty white page, so the It is running the busy
> > cusor all the time until the servlet process is done, actually we need to
> > load another page immediately after the servlet starts, so the white page
> > comes after the other page, I want to write codes(javascript, html, or
> > others) to similate clicking the stop button on the browser toolbar like
> > window.stop(), but this only works for Netscape, not for IE5.01, would you
> > guys please help me with this issue ?
> > Thank you very much in advance !
>
> In my opinion, you should always send some response back to the user. That is
> the model of HTTP transactions: there is a request AND a response. You don't
> need anything fancy, a simple page that says "Thanks for your submission" is
> good enough, as long as the user gets some indication that their action was
> accepted.
>
> K Mukhar
>
> ___________________________________________________________________________
> 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

Reply via email to