2014年12月7日

maven建ssh项目的pom文件

摘要: 4.0.0 shopping shopping war 1.0-SNAPSHOT shopping Maven Webapp http://maven.apache.org UTF-8 3.1.0.RELEASE ... 阅读全文

posted @ 2014-12-07 21:28 可爱2014 阅读(274) 评论(0) 推荐(0) 编辑

2014年12月4日

拦截器与过滤器的区别

摘要: 拦截器是基于java的反射机制的,而过滤器是基于函数回调。拦截器不依赖与servlet容器,过滤器依赖与servlet容器。拦截器只能对action请求起作用,而过滤器则可以对几乎所有的请求起作用。拦截器可以访问action上下文、值栈里的对象,而过滤器不能访问。在action的生命周期中,拦截器可... 阅读全文

posted @ 2014-12-04 09:39 可爱2014 阅读(140) 评论(0) 推荐(0) 编辑

2014年12月2日

Jquery的ajax获取action中的返回值

摘要: js部分:function check() {$.ajax({type : "POST",url : "myCloudWantseeListHD.action",data : "type=2&kind=1&id=1",async:false,cache:false,success : functio... 阅读全文

posted @ 2014-12-02 11:25 可爱2014 阅读(672) 评论(0) 推荐(0) 编辑

2014年11月27日

清空数据库所有表的数据

摘要: declare cursor c_t is select table_name from user_tables;table_name user_tables.table_name%type;begin open c_t;loop fetch c_t into table_name;exit whe... 阅读全文

posted @ 2014-11-27 09:12 可爱2014 阅读(164) 评论(0) 推荐(0) 编辑

2014年11月26日

orcal操作锦集

摘要: 更新时间:update qs_settle_dt_cfg set end_date=to_date('9999-12-31','yyyy-MM-dd');查询时间:select to_char( end_date ,'yyyy-MM-dd') from IO_TRADEACCT_CAPITALMOD... 阅读全文

posted @ 2014-11-26 09:16 可爱2014 阅读(190) 评论(0) 推荐(0) 编辑

2014年11月25日

面试题

摘要: 1. 下面哪些是Thread类的方法()A start() B run() C exit() D getPriority()答案:ABD解析:看Java API docs吧:http://docs.oracle.com/javase/7/docs/api/,exit()是Syste... 阅读全文

posted @ 2014-11-25 21:59 可爱2014 阅读(158) 评论(0) 推荐(0) 编辑

从HTTP请求中获取客户IP地址

摘要: /** * 从HTTP请求中获取客户IP地址 * * @param request http请求 * @return 客户IP地址 */ public static String getIPAddress( HttpServletRequest request ) { String ip = req... 阅读全文

posted @ 2014-11-25 14:13 可爱2014 阅读(6579) 评论(0) 推荐(0) 编辑

导入/导出数据库数据

摘要: D:/oracle/product/10.2.0/client_1/BIN/exp user/user@ORCAL225 file=D:/history/ld_xnsale2.dmp owner=liquidateD:/oracle/product/10.2.0/client_1/BIN/imp u... 阅读全文

posted @ 2014-11-25 10:56 可爱2014 阅读(135) 评论(0) 推荐(0) 编辑

2014年8月8日

Myeclipse或者Eclipse恢复默认启动时显示选择workspace的问题

摘要: 【问题描述】 不知道是不是Myeclipse8.5的Bug,我最近安装了8.5之后,前面几天打开MyEclipse的时候都是让我自己选择工作空间的,但是最近突然每次打开的时候都自己打开了C盘下面工作空间,这个工作空间是它自动生成的,每次打开myeclipse的时候都要打开2次,着实痛苦。【需求】 现... 阅读全文

posted @ 2014-08-08 09:09 可爱2014 阅读(381) 评论(0) 推荐(0) 编辑

导航