java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
2016-02-24
配置文件中的查询去掉trim之后,servlet获取参数的代码改成这样子就不会报
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null '%'' at line 3
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null '%'' at line 3
2016-02-24
String command = req.getParameter("command")==null ? "" : req.getParameter("command").trim();
String description = req.getParameter("description")==null ? "" : req.getParameter("description").trim();
String description = req.getParameter("description")==null ? "" : req.getParameter("description").trim();
2016-02-24
req.setAttribute("command", command==null ? "" : command.trim() );
req.setAttribute("description", description==null ? "" : description.trim());
req.setAttribute("description", description==null ? "" : description.trim());
2016-02-24