Hi,
Please provide information on how to create environment variables in websphere application server and retrieve the same from a
java application.
I have following lines of code which is trying to fetch the value of environmental variable.
String environment = System.getProperty("policyService.environment");
actually this variable will decide the environment in which the code is deployed and will proceed accordingly.
When I try to print the value of the variable I am getting as null. Dont know whether this variable is environmental variable of websphere variable.
Please assist.
Regards,
sreeni.