|
JSP 일반 |
[1] |
|
등록일:2015-05-21 13:45:41          (0%) 작성자: 제목:이클립스 실행시 VM arguments 와 program arguments의 차이 |
|
Program arguments are arguments that are passed to your application, which are accessible via the "args" String array parameter of your main method. VM arguments are arguments such as System properties that are passed to the JavaSW interpreter. --------------------------------------------------------------------------------------------------------- Program arguments는 어플리케이션에 넘기는 argument로, main메소드에 "args" String 배열 파라메터를 넘길 때 사용된다. VM arguments는 JavaSW 이 시스템 속성값으로 넘겨진다.
만약 설정 xml에서 <bean id="abc" class="com.crystal.abc"> <property name="def" value="${def}"/> </bean> 와 같이 시스템 프로퍼티로 argument의 값을 받고 싶다면, Program arguments가 아니라 VM arguments에서 값을 넘겨야한다. 예 : -Ddef=defValue |
[본문링크] 이클립스 실행시 VM arguments 와 program arguments의 차이
|
[1]
|
|
|
|
|
코멘트(이글의 트랙백 주소:/cafe/tb_receive.php?no=34420 |
|
|
|
|
|
|
|
|
|
Copyright byCopyright ⓒ2005, SSISO Community All Rights Reserved.
|
|
|