Link to home
Start Free TrialLog in
Avatar of auduin
auduin

asked on

How do I get windows environment variables?

How do I get windows system environment variables in my .jsp file?

Thanks in advance
ASKER CERTIFIED SOLUTION
Avatar of jimmack
jimmack

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jimmack
jimmack

jimmack is correct on this. If you mean you want to read server side env var, I used this in startup script

set >env.properties

and then use java.util.Properties to read the env.properties file. you get all your env var from there.
Avatar of auduin

ASKER

Thought that was the case, was just making sure. Thank you all for your help.
;-)  No problem.