上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页
摘要: 1 instr(objClob,objstr,beginIndex,appearIndex)objClob:带检索目对象,可以是clob,stringobjstr: 需要验证的字符串beginIndex: 开始检索位置,默认从1开始appearIndex: 出现的位置,默认为1select inst... 阅读全文
posted @ 2014-07-02 17:33 roscee 阅读(1347) 评论(0) 推荐(0) 编辑
摘要: 匹配负整数的正则表达式: -[0-9]*[1-9][0-9]*匹配整数的正则表达式: -?\\d+匹配非负浮点数(正浮点数 + 0)的正则表达式: \\d+(\\.\\d+)?匹配正浮点数的正则表达式: (([0-9]+\\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*... 阅读全文
posted @ 2014-06-25 11:03 roscee 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 方式一:var memberA={name:"tony",age:25,objpropname:{propName1:value1,propName2:value2},};方式二:自定义一个建构函数,然后和第一种方式一样用new来创建function funcName( param1,param2,... 阅读全文
posted @ 2014-05-28 08:34 roscee 阅读(149) 评论(0) 推荐(0) 编辑
摘要: public class DateEditor extends PropertyEditorSupport { private static final DateFormat TIMEFORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); private DateFormat dateFormat; private boolean allowEmpty = true; public DateEditor() { } public DateEditor(DateFormat dateFormat) { thi... 阅读全文
posted @ 2014-03-25 08:45 roscee 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 一:基本导入导出exp scott/oracle@orcl file=d:/test.dmpimp scott/oracle@orcl file=d:/test.dmp ignore=y ignore参数 如果表中没有数据,在使用IMP导入 的ignore=y参数时,ORACLE不会检查要导入的数据 阅读全文
posted @ 2014-03-19 22:26 roscee 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 一:web.xml 里引入配置 myjsp_tag(任意标识名称) /WEB-INF/tld/mytld.tld 二:编写.tld 文件: 1.0 2.0 /myjsp_tag test com.azcsoft.tool.HelloTag empty i... 阅读全文
posted @ 2014-03-19 14:47 roscee 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 页面代码:function test(){ $.ajax({ type:'post', timeout:8000, url:'json/testJson.htm', data:{"name":"zzd","sex":"man"}, //dataType:'text', dataType:'json', success:function(data){ /*var json = eval('('+data+')'); $(& 阅读全文
posted @ 2014-03-18 17:05 roscee 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 一: 关于采用xml 方式进入不了控制层方法的问题http://www.blogjava.net/beauty_beast/archive/2006/05/25/48086.html 阅读全文
posted @ 2014-02-25 13:29 roscee 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 一、概述(一)基本概念1、数据访问的关键技术我们可以将数据访问分为两个部分:一是获得数据源;二是进行数据库操作(增删改查)。2、获得数据源的几种方法因为只是为了记录一些关键的东西,以实用为主,因此没有过多的考虑措辞和学术上的严谨。这里指的是在Java中怎么能取得和数据源(DataSource)的联系,方法主要有传统的在程序中硬编码和通过XML注入。Spring提供三种XML注入:(1)使用Spring自带的DriverManagerDataSource;(2)使用DBCP连接池(3)使用Tomcat提供的JNDI。其中(1)可以配合Hibernate、iBatis等ORM一起使用(在XML配置 阅读全文
posted @ 2014-02-14 09:59 roscee 阅读(463) 评论(0) 推荐(0) 编辑
摘要: 一:创建一个基本控制器类:public class BaseController extends HandlerInterceptorAdapter{ public static HttpServletRequest request; public static HttpServletResponse reponse; public static HttpSession session; @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object ha.. 阅读全文
posted @ 2014-02-12 16:32 roscee 阅读(687) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页