-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Michael Stacey writes:
> servlet retrieves information from the database and
> constructs a page that is displayed in another frame.
>
> After running different searches in the two browsers,
> two different lists of hits were displayed. The strangeness
> arises when one starts clicking madly on the links.
> Occassionally, Netscape displays a "document contains no data"
> alert, and the document is displayed *in the IE browser*!
>
> What gives?
This sounds like a problem with synchronization. Are you only making
references to local variables, not class or file local variables? Any
new threads you use should do the same, and not make reference to some
shared variable (unless you synch on that var).
You could also try SingleThreadModel--this is a quick way to tell if
simple synchronization is the problem. If you do this, you may want
to read why this is bad: it's in the Apache FAQ-O-matic, under the
programming and misc. category.
Have you tried running two different Netscape browsers (two separate
processes), and 'madly' clicking? I suspect you'll get the same
problem.
Andrew.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]