Is it possible to write a servlet that gets the system properties of its client? I am trying to write a simple program that outputs the user name of the client, but have had little success thus far. Thanks
Sorry, you can't get the system properties of the client. What you can get are the HTTP request parameters which tell you about the clients browser,etc. See HTTPRequest in the API docs. FWIW, what you are trying to do is usually handled via cookies.
Thanks for the input; confirmed my worst fears about it, but does anyone know of a viable solution to this problem of getting a client's username? (I tried using a signed applet and RMI without success.) I would imagine this is something that's not uncommonly used.
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.