Hi,
I have a requirement to display the name of the user who enters my
jsp page by getting the username from the client's environment variables. Is this possible to do in my jsp page using java/javascript?
For eg: if ABC is the user who clicks on the link, i need to display Welcome ABC.
if XYZ is the user who clicks on the link, i need to display Welcome XYZ.
I tried using
but it displays the server machine's username and not the client machine's.
Please help.
Thanks,
Jean