Please note the third error message was incorrect in my previous e-mail
(just the number displayed after the 'OK' in the message, i.e. it should
have read 68138 instead of 4080).
It is corrected below - sorry for any inconvenience.

Regards,   Billy.

+++++++++++++++++++++++++++++++++++++++++++

Hi to all.

I have a problem that I've been trying to overcome for a number of days now
and cannot see what is going wrong - hopefully someone will be able to point
me in the right direction. I am still fairly new to servlets so please
excuse me if the problem I pose is basic.

I have written a servlet that queries a database, extracts the data and
writes the data to the client (MSIE5.5) as SVG (XML) where it is displayed
as graphs by the Adobe SVG add-in (V2). All this works perfectly - most of
the time! Sometimes the graphs do not display in the correct position,
totally messing up the display. To source the 'bug' I have written out
various variables to a file on the server and examined them afterwards.
Basically some of the variables I am using as counters, to place the graphs
on-screen, occasionally change value 'for no reason at all' that I can
determine, certainly I am not changing them directly in my code.

I use doGet() to send my data request to the servlet from a web page. This
usually works fine, but if I edit the URL data directly, in the client
browser address line, to select different data then the resultant graphs are
usually not displayed correctly (i.e. the file shows the counter variables
have incremented incorrectly). If however I then click on 'REFRESH' on the
client browser (with the manually edited URL still in force) the new graphs
then display OK on the second time of asking. This behaviour seems to be
consistent. The only clue to what is going on is that the web server
displays two messages during the erroneous manual editing phase but only one
message during the 'good' REFRESH phase. I have displayed the messages below
in full but I have to admit I only have basic knowledge in this area so am
not sure what they mean. Can anyone please point me in the right
direction???

Manual Editing messages (2 off) :
[1]:
Tue, 18 Sep 2001 08:02:01 GMT+01 localhost/127.0.0.1 -
80: GET
/servlet/QSee4?Dep=BG&Ana=PLUTO&Controls=VER1&Tests=Na&Tests=CL&Tests=Ca
HTTP/1.1
200 OK 4080
[2]:
Tue, 18 Sep 2001 08:02:02 GMT+01 localhost/127.0.0.1 -
80: GET
/servlet/QSee4?Dep=BG&Ana=PLUTO&Controls=VER1&Tests=Na&Tests=CL&Tests=Ca
HTTP/1.1
200 OK 68138

REFRESH message (1 off) :
[1]:
Tue, 18 Sep 2001 08:03:13 GMT+01 localhost/127.0.0.1 -
80: GET
/servlet/QSee4?Dep=BG&Ana=PLUTO&Controls=VER1&Tests=Na&Tests=CL&Tests=Ca
HTTP/1.1
200 OK 68138


Many thanks in anticipation.

Regards,   Billy Graham.
*****************************************************************

This email has been Virus Scanned.

Privileged/Confidential Information and/or Copyright Material may
be contained in this e-mail. The information and Material is
intended for the use of the intended addressee. If you are not
the intended addressee, or the person responsible for delivering
it to the intended addressee, you may not copy or deliver it to
anyone else or use it in any unauthorised manner. To do so is
prohibited and may be unlawful. If you receive this e-mail by
mistake, advise the sender immediately by using the reply
facility in your e-mail software.


Thank you.
Information Technology Department
Belfast City Hospital Trust

*****************************************************************

Reply via email to