Hi, all

I saw that in *-site.xml, we can use ${user.name} to get the username of
present user.
If I want to get the environment $HOSTNAME, what should I do?

I tried ${HOSTNAME}, ${env.hostname}, both of them can't work.
It just return the string of "${HOSTNAME}" and "${env.hostname}" themselves.


So can anybody tell me what I should use for get this environment?
Thank you!

welman Lu

Reply via email to