Dear Sir/Madam I am working on a standalone project which is to simulate various clients on a machine that hits the aprticular URl . I am required to first take the input from the client ina form that is developed in Java(Swings). This form will spawn out various Threads each in turn hit the URL.Kindly let me know the way by which i can know the Web Server time when the thread hits the URL.
In general is there any way out to know the webserver time when the server started/completed /processed the request/responce from the client thru the Java console
rgds Amitabh Sinha
posted 15 years ago
If the HTTP server is configured to let you know the date, you have in the HTTP header a field called Date giving the date when it proceesses the request. It is at a low level that you can have this information. Ex : Date: Tue, 15 Nov 1994 08:12:31 GMT see the protocol spec at ftp://ftp.isi.edu/in-notes/rfc2616.txt Page 124 Laurent Leonard Laurent.Leonard@belgique.com
[This message has been edited by Laurent Leonard (edited May 23, 2001).]
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads