자바

자바 중급 (JAVA-Web) 강좌 자료] String의 Null Test

행복한짱짱이 2017. 7. 16. 10:26

자바 중급 (JAVA-Web) 강좌 자료] String의 Null Test

 

자바 중급 (JAVA-Web) 강좌 자료] String의 Null Test

 

 

 

 

실무개발자를위한 실무교육 전문교육센터학원
www.oraclejava.co.kr에 오시면 보다 다양한 강좌를 보실 수 있습니다.

 

 

 

String의 Null Test

 

 

 *  Employees Table name 컬럼을 null  update

    SQL>update employees set phone=null; 또는

    SQL>update employees set phone=‘’;

    다시 ConnectionTest를 실행

    (getString()으로 받을때 받은값이 null이라면  

     null이라고 찍힘)

    (http://localhost/servlet/ConnectionTest)