01 2013 档案
摘要:关于beanutilsbeanutils是apache开源组织中的一个包,主要是为了更好的让开发者隔离JAVA包中自带的及其strus,spring等框架中复杂的bean工具类的使用。开源地址:http://commons.apache.org/beanutils/这里主要介绍下beanutils下的ComparatorUtils的使用直接上代码public class Person { int id; private String name; int age; public int getId() { return id; } public ...
阅读全文
摘要:/** * <p> * Title: 创建对象的四种方式 * </p> * * * @author lwx * @version 1.0 * @create 2013 1 17 14:03:35 */public class CreateObj implements Cloneable,Serializable{ private static String filename = CreateObj.class.getResource("").getPath() + "/obj.txt"; static File file = ne
阅读全文
摘要:网络上的介绍一堆堆的,但是自己尝试了下,发现问题很多,就动手做个教程。大纲 1.git客户端安装 2.ssh配置 3.egit安装配置 4.参考资料 Ps:为了增加乐趣,文章并没有按照大纲来描述,如果您急着搭建egit,请尽量按大纲顺序来配置,可以少走弯路1.egit的安装 当然也可...
阅读全文
摘要:今天帮忙同时做了个小模块,遇到了些问题,总结下1.进度没有按照计划执行,基础知识仍然需要提升 比如如何在用<c:forEach来遍历嵌套的list蛋疼啊,居然忘记了之前做过 <c:forEach items="${data}" var="datas"> <c:forEach items="${data}" var="data"> ${data.xx} </c:forEach ></c:forEach > 遇到一个异常,貌似也是遇到过的 Cannot forwar
阅读全文
摘要:时间查询或则根据各种需求需要查询指定的时间,经常用到,就记录下来,需要的朋友可以看下,希望对你们有所帮助 1 /***当前时间 北京时间 2013.01.05 **/ 2 3 --1.查询本周第一天 4 select trunc(sysdate, 'd') from dual;--2012-12-30(星期天为第一天) 5 --2.查询本月的第一天和最后一天 6 select trunc(sysdate, 'mm') from dual;--2013-1-1 7 select last_day(trunc(sysdate)) from dual;--2013-1
阅读全文

浙公网安备 33010602011771号