Hi, How do I add an environmental variable in websphere ? I tried going to the server and adding by clicking the "Environment" tab. If I add one, How do I access this variable from my servlet ? Please help Thanks
Take a stab here, one way is to modify your startserver.bat or adminserver.bat and add a "-DenvVariableName=envValue" option. You can access this in the code with System.getProperty( "envVariableName" ); Is this whay you are looking for? -t
Thanks for your reply. I figured out that u can add an environmental variable thru Admin console itself. Accessing is by the same way u mentioned Thanks