I found only when I put -Dcontext=web into VM arguments, the value can be read by System.getproperty method. I am wondering what\'s the difference betw
-Dcontext=web
System.getproperty
Program args are available via the args [] of your main(String args[]) method