Hi,
How can I get the environment variables <env> from within the script?
how can I get the environment variables?
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
- Wai
- Moderator
- Posts: 165
- Joined: Wed Sep 12, 2007 9:04 am
- Location: Sandy, UK
- Contact:
I am assuming you mean environment variables that you have set-up in web.xml
If so then, you can use
If so then, you can use
Code: Select all
system.variables.$ENV_NAME_OF_VARIABLE.value
0 x
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
Thank you.
I was doing the same thing previously but seems forgot to restart the server, so when I tried to get the value it gave an error message.
I was doing the same thing previously but seems forgot to restart the server, so when I tried to get the value it gave an error message.
Wai wrote:I am assuming you mean environment variables that you have set-up in web.xml
If so then, you can use
Code: Select all
system.variables.$ENV_NAME_OF_VARIABLE.value
0 x
Who is online
Users browsing this forum: No registered users and 11 guests