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
Program arguments - arguments which we normally pass into our program. This type parameters can be accessed using "args" String array in the main method.
VM arguments - arguments which are passed into the Java interpreter.