![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
Duco
只存在于stash的代码
展开
-
StrutsTestCase 使用小记
[list] [b]关于配置[/b] 网上找的几篇介绍,版本似乎有问题。总之在我的项目下(struts2,没有spring)。除要添加 struts2-junit-plugin.jar外,还需要 junit-4.10.jar,spring-test.jar,spring-core.jar [/list] [list] 无法使用@Test @Ignore 不知道是为啥。 只好把不...原创 2014-11-27 18:52:10 · 198 阅读 · 0 评论 -
Struts2使用记录
本文记录使用 Struts2出现的问题,和解决方案。 [*] IBATIS iterate的问题。 通过一组学生的id,批量设置他们的isleave为1。 使用iterate的两种方案 1.使用IN关键字 [code="sql"] update tb_student set isleave=1 where student_id in (#[]#) [/cod...原创 2014-11-30 14:37:34 · 118 阅读 · 0 评论