`
xiashenghai
  • 浏览: 23133 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
我用的格式有两种,一种为myTaskAction_showList.do。xwork的配置为 <action name="myTaskAction_*" method="{1}" class="myTaskAction"> <result name="success" type="freemarker">/page/myTask/myTaskHomePage.ftl</result> <result name="sh ...
因为工作的需要,收集的一些银行业务的知识,分享一下。
对于clob的处理,在映射文件中我们用org.springframework.orm.hibernate3.support.ClobStringType这种类型标识。 在POJO中就可以用String来表示该字段。 当然也可以用java.sql.Clob来表示,但不建议。至于原因,待续...
有关spring batch的介绍我就不多说了,可以去下面的网址看看: http://www.infoq.com/cn/news/2008/07/spring-batch-zh   刚接触到spring batch的时候无从下手,javaeye有关的帖子博文也非常的少,很郁闷只能看它自己提供的文档,说真的,那文档帮助不大,顶多就是让你知道spring batch靠这么几个类玩的。没办法只能自己一步步看代码调试,走了不少弯路呢。   这篇文章简单介绍一下spring batch是怎么处理单个文件的。   首先看下spring batch关键的几个类:     JobLaun ...
用logger.debug显示某些关键信息时,比如显示某POJO的list时,可以重写该POJO的toString方法,打印出该POJO的所有属性。 public String toString() { return ToStringBuilder.reflectionToString(this); }  这样logger.debug(list)时,看的就非常清楚了,也不需要用for循环了,很方便。
Global MIME Types Category Content-Type File Suffix type application/octet-stream bin type application/astound asd,asn type application/fastman lcc type application/java-archive jar type application/java-serialized-object ser type application/java-vm class type ...
在ajax操作成功之后,系统要求给回显一些信息给用户,譬如,用户在重置密码后,要将新密码回显给用户。   这是这样实现的, /** * 直接将字Json的字符串写入到Response中 * * @param response * @param jsonString Json的字符串 */ public void responseJsonString(HttpServletResponse response, String jsonString) { response.setContentType(contentType); ...
我接触的quartz用法比较简单,就是每个一段时间调用一下ServiceImpl的一个方法, 其配置文件如下: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframewor ...
  很多东西长时间不用就会忘记,然后再回过头来再去找,很浪费时间。还是在写下来比较好。   ehcache的配置文件: <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd"> <diskStore path="java.io.tmpdir"/> <defaultCache ...
http://www.iteye.com/topic/246413
Global site tag (gtag.js) - Google Analytics