Getting the system name from environmental variable
Hi all,
Is it possible to get the system name from environmatal variables with out running an applet. I have to get the name of the system where the user has opened the browser.
I deployed my application in tomcat server and say the server is running in a machine called "MyServer". I am accessing the application from another machine say "MyClient" through internet explorer. I have to get the system name as "MyClient" without running an applet.... Is it possible?
Any ideas...
Sorry for not being clear!!
I have developed a small application in java and i have deployed that in tomcat server. I am accessing that application from a different machine. In my java program, if run try to get the system name from the environmental variable, it will be executed in the server and i will get the system name of the server. But i want to get the system name of the client.(i.e the name of the system where the user has opened the browser)... Am i clear atleast now?
Thanks,
I am using that information for some authentication purpose. I am getting the user name and password of the user from a pop up. But i cannot get the system name from the user in the pop up. For authentication, i will append the system name with the username.
For example: System name : system001
Username: john
I need to concatinate these two as system001\john and check if he is a valid user...
> I am sorry, i don't know how to get any information
> about the client machine from which the user is
> accessing the application. What should I use to get
> the IP address of the client system where the browser
> runs?
You will get this from the tomcat side. You understand this right?