摘要:
默认情况下,使用#{}语法,MyBatis会产生PreparedStatement语句中,并且安全的设置PreparedStatement参数,这个过程中MyBatis会进行必要的安全检查和转义。例如:执行SQL:Select * from emp where name = #{employeeNa... 阅读全文
摘要:
一. 配置 1. 导入jar包最少要struts.jar、commons-beanutils.jar、commons-digester.jar、commons-logging.jar这4个;想使用其他功能要附加导入如:jstl-1.2.jar、commons-validator.jar、common... 阅读全文