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 arguments go into main() method:
public static void main(String[] args) // here