判断字符串是否为空 首先去这个地址下载一个JAR包 http://commons.apache.org/proper/commons-lang/ 然后把包放在lib里面 实例代码 StringUtils.isEmpty(字符串)