代码中的像这样的语句:
String name=Bytes(request.getParameter("name"));//Bytes()为格式化表单参数的乱码
if(name!= null  && name.trim().length>0)
{}
运行后出现这个错误:
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 69 in the jsp file: /company/index1_3_1.jsp
length cannot be resolved or is not a field
66:  if(Bean.connection())
67:  {
68:  String sql="update conference_room set ";
69:  if(name!= null  && name.trim().length>0)
70:    {sql=sql+"name='"+name+"'";
71:    if(address!=null && address.trim().length>0)
72:    sql=sql+",address='"+address+"'";
求解:如何判断request得到的数据为空?