摘要: public void init(ServletConfig config) throws ServletException { super.init(config); //在inin方法注册容器 applicationContext = WebApplicationContextUtils.get 阅读全文
posted @ 2016-10-31 16:40 回忆太多饶不了 阅读(325) 评论(0) 推荐(0)
摘要: 比如说 : 更改为~ sql为 UPDATE t_privilege SET url = REPLACE(url, 'fkwx_Clone', 'fkwx'); 阅读全文
posted @ 2016-10-17 14:31 回忆太多饶不了 阅读(199) 评论(0) 推荐(0)
摘要: 1. sql中字符串拼接 ,$符号传变量 SELECT * FROM tableName WHERE name LIKE CONCAT(CONCAT('%', #{text}), '%'); 2. 使用 ${...} 代替 #{...} SELECT * FROM tableName WHERE n 阅读全文
posted @ 2016-10-10 11:04 回忆太多饶不了 阅读(152) 评论(0) 推荐(0)
摘要: 在eclipse中设置 设置步骤如下: 1.点击eclipse上的debug图标旁边的下拉箭头 2.然后选择Run Configurations, 3.系统弹出设置tomcat配置页面,在Argument中末尾添加参数中的VM arguments中追加: -Xms256M -Xmx512M -XX: 阅读全文
posted @ 2016-09-30 11:30 回忆太多饶不了 阅读(232) 评论(0) 推荐(0)