Thanks to all!

As requested by a few people, I was just about to send a sample of my
'dodgy' code when I read an e-mail suggesting I use a 'Protected' doGet()
method. I tried this but it didn't work - however it did remind me about the
'Synchronized' keyword (as I stated earlier, I am new to java but have read
extensively on it - so somewhere in the basement of my brain the facts are
there). I made the doGet() method both Synchronized and Protected and Hey
Presto! everything works - no more dodgy variables. I still don't quite
understand what was changing the variables as there was only  one request
being made to the server for the servlet, though as I outlined in an earlier
e-mail the server feedback seemed to indicate there were 2 Get() requests
being made. Anyway - it's working A OK now, so I'm off for a coffee!

Many thanks for all the contributions.

Best 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