String val = "true"; boolean ok = Boolean.parseBoolean(val) ;
boolean ok = Boolean.valueOf(val).booleanValue();
Jump To Top of Thread