09 2017 档案

Spring 具名参数NamedParameterJdbcTemplate
摘要:具名参数: 具名参数:SQL 按名称(以冒号开头)而不是按位置进行指定. 具名参数更易于维护, 也提升了可读性. 具名参数由框架类在运行时用占位符取代 我们之前一直是用JDBCTemplate 进行Sql语句的 拼写 , 但是 当 一个行中有 多个 占位符时,很容易 搞混哪个值 是 哪个值。 那我们 阅读全文

posted @ 2017-09-29 22:32 哆啦任意门 阅读(1927) 评论(0) 推荐(0)

Could not load driverClass jdbc:mysql://localhost:3306/spring
摘要:今天出现编码出现了No suitable driver found for jdbc,又是找遍了网上的资料,基本上都说是三个问题: 一是:连接URL格式出现了问题(Connection conn=DriverManager.getConnection("jdbc:mysql://localhost: 阅读全文

posted @ 2017-09-24 23:05 哆啦任意门 阅读(297) 评论(0) 推荐(0)

Spring 使用AspectJ的三种方式
摘要:Spring 使用AspectJ的三种方式 阅读全文

posted @ 2017-09-22 23:17 哆啦任意门 阅读(1793) 评论(0) 推荐(0)

Excel 若某列包含某个字符则特定列显示特定字符
摘要:Excel FIND 函数 阅读全文

posted @ 2017-09-22 10:04 哆啦任意门 阅读(5728) 评论(0) 推荐(0)

使用Spring的隐式注解和装配以及使用SpringTest框架
摘要:SpringTest Spring 隐式注解 阅读全文

posted @ 2017-09-16 23:59 哆啦任意门 阅读(496) 评论(0) 推荐(0)

Eclipse Oxygen 解决 自动导包的问题
摘要:Eclipse Oxygen Ctrl+Shift+O 阅读全文

posted @ 2017-09-16 17:39 哆啦任意门 阅读(1536) 评论(0) 推荐(0)

C3P0 WARN: Establishing SSL connection without server's identity verification is not recommended
摘要:C3P0 WARN 阅读全文

posted @ 2017-09-13 00:09 哆啦任意门 阅读(495) 评论(0) 推荐(0)

Eclipse 多行复制并且移动失效
摘要:Eclipse 有个好用的快捷键 即 多行复制 并且移动 但是 用 Win7 的 电脑 的 时候 发现屏幕 在 旋转 解决方案: 打开Intel的显卡控制中心 把旋转 的 快捷键 进行更改 就好了 阅读全文

posted @ 2017-09-09 15:30 哆啦任意门 阅读(473) 评论(0) 推荐(0)

改用Struts2.5 出现404 错误
摘要:改用Struts2.5 出现404 错误 阅读全文

posted @ 2017-09-03 16:07 哆啦任意门 阅读(1254) 评论(0) 推荐(1)

Struts 2.5 Filter mapping specifies an unknown filter name [struts2]
摘要:问题一:java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[ 阅读全文

posted @ 2017-09-03 15:44 哆啦任意门 阅读(662) 评论(0) 推荐(0)

Spring在JSP页面使用ServletContext
摘要:在 JSP 页面使用Application 可以 看到使用的是WebApplicationContextUtils 而不是WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE 如下图 //1.从application域对象中得到IO 阅读全文

posted @ 2017-09-03 11:31 哆啦任意门 阅读(809) 评论(0) 推荐(0)

导航