<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[longG_yang的专栏]]></title><description><![CDATA[匆匆而来，悄悄离去……]]></description><link>https://blog.youkuaiyun.com/longG_yang</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; longG_yang]]></copyright><item><title><![CDATA[Roo shell command无响应]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/9121567</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/9121567</guid><author>longG_yang</author><pubDate>Tue, 18 Jun 2013 16:19:27 +0800</pubDate><description><![CDATA[Roo shell 执行命令报异常：org.springframework.roo.felix.pgp.PgpServiceImpl] The
 activate method has thrown an exception org.apache.felix.log.LogException: java.lang.IllegalArgumentException: Unable to get t]]></description><category></category></item><item><title><![CDATA[正则表达式 字符替换]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/6741361</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/6741361</guid><author>longG_yang</author><pubDate>Fri, 02 Sep 2011 00:18:06 +0800</pubDate><description><![CDATA[1.使用软件 ：EditPlus；
2.替换等号两边字符：按Ctrl+H调出替换对话框，选中“正则表达式”的复选框，然后在查找的文本框中输入“(.*)=(.*)”，在替换的文本框中输入“\2=\1”，然后按全部替换就完成了；
3.替换等号及等号左边的字符为空：按Ctrl+H调]]></description><category></category></item><item><title><![CDATA[修改计算机名后无法启动oracle（OracleXETNSListener服务）]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/6119576</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/6119576</guid><author>longG_yang</author><pubDate>Thu, 06 Jan 2011 10:25:00 +0800</pubDate><description><![CDATA[<br />版本：10.2<br />默认oracleXE 启动OracleXETNSListener和OracleServiceXE两个服务。 一次管理员修改我的域名称和计算机名称。结果导致OracleXETNSListener无法启动。<br />最好的解决方法：<br />修改：<br /><br />%Oracle_Home%/app/oracle/product/10.2.0/server/NETWORK/ADMIN 下<br />listener.ora<br />tnsnames.ora<br]]></description><category></category></item><item><title><![CDATA[jndi连接数据源]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/6118059</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/6118059</guid><author>longG_yang</author><pubDate>Wed, 05 Jan 2011 15:20:00 +0800</pubDate><description><![CDATA[<br />一.spring 配置方式<br /><?xml version="1.0" encoding="UTF-8"?><br /><!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"><br /><beans><br /> <bean id="dataSource"<br />  class="com.context.JndiDataSource" ]]></description><category></category></item><item><title><![CDATA[关于wicket的checkgroup控件]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5889767</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5889767</guid><author>longG_yang</author><pubDate>Fri, 17 Sep 2010 00:55:00 +0800</pubDate><description><![CDATA[<br />用了一下checkgroup控件，感觉还是挺方便：<br />1.实现全选和全部取消：要在checkgroup控件中加入子控件CheckGroupSelector（它也是一个checkbox）,然后就是通过子控件ListView或DataView遍历增加check控件,渲染成一个checkbox组的形式。<br />2.获取选中checkbox值：选中的checkbox值保存在checkgroup控件的Model对象中,并返回是一个List的数据结构。<br />3.默认选中checkgroup]]></description><category></category></item><item><title><![CDATA[hibernate 时间比较]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5889752</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5889752</guid><author>longG_yang</author><pubDate>Fri, 17 Sep 2010 00:35:00 +0800</pubDate><description><![CDATA[<br />今天遇到hibernate 时间比较问题：<br />1.由数据库中的时间字段获得该时间与当前时间相差天数【表中的时间字段实际为8个字符存放的日期，形如yyyyMMdd】<br />select sysdate-to_date(timecolumn,'yyyyMMdd') from table<br />问题解决了！<br /> <br />2.关键就是利用了Oracle关键字sysdate和to_date函数实现与系统时间比较。]]></description><category></category></item><item><title><![CDATA[Quartz动态管理任务]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5836188</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5836188</guid><author>longG_yang</author><pubDate>Wed, 25 Aug 2010 00:06:00 +0800</pubDate><description><![CDATA[<br />Quartz是一个纯 Java 实现的作业调度工具,其中Spring也整合了 Quartz.<br />关于Quartz动态的添加任务：<br />1.配置Scheduler ：<br />获得默认的Scheduler实例<br />Scheduler scheduler = StdSchedulerFactory.getDefaultScheduler();<br /> <br />为MyJob.class创建一个JobDetail<br />JobDetail job=  new JobDe]]></description><category></category></item><item><title><![CDATA[wicket 控件验证]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5808275</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5808275</guid><author>longG_yang</author><pubDate>Fri, 13 Aug 2010 00:17:00 +0800</pubDate><description><![CDATA[<br />关于日期验证wicket有内部的验证机制会把验证信息存入FeedbackPanel控件<br />一.submit时直接通过FeedbackPanel控件将验证信息显示页面上<br /> <br />二.直接取控件的验证信息：TextField<T> name = (TextField<T>) this.get("wk_name");String verification   =name.getFeedbackMessage().getMessage();<br /> <br />三.直接取控件]]></description><category></category></item><item><title><![CDATA[wicket日期控件显示]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5714896</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5714896</guid><author>longG_yang</author><pubDate>Mon, 05 Jul 2010 23:56:00 +0800</pubDate><description><![CDATA[<br />1.定义Date date = new Date();<br />2.DateTextField dateField = new DateTextField("wk_date", new PropertyModel(this, "date"), new StyleDateConverter("M-", true));<br />注：wk_date为wicket控件id<br />     "S-":控件显示为yy-m-d<br />     "M-":控件显示为yyyy-m-d<br />   ]]></description><category></category></item><item><title><![CDATA[ORACLE函数大全]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5712589</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5712589</guid><author>longG_yang</author><pubDate>Sun, 04 Jul 2010 22:55:00 +0800</pubDate><description><![CDATA[<br /> 
<br />SQL中的单记录函数<br />1.ASCII<br />返回与指定的字符对应的十进制数;<br />SQL> select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual;<br />        A         A      ZERO     SPACE<br />--------- --------- --------- ---------<br />       65    ]]></description><category></category></item><item><title><![CDATA[关于Oracle的一些函数]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5712461</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5712461</guid><author>longG_yang</author><pubDate>Sun, 04 Jul 2010 21:19:00 +0800</pubDate><description><![CDATA[<br />一.Oracle补足函数lpad(oldstring,length,addsring)和rpad(oldstring,length,addsring)<br />    1.lpad(oldstring,length,addsring):oldstring不足length长度从左边开始以addstring补足。<br />    2.rpad(oldstring,length,addsring):oldstring不足length长度从右边开始以addstring补足。<br /> <br />]]></description><category></category></item><item><title><![CDATA[关于MyEclipse的一些设置(代码提示、显示行号)]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5705795</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5705795</guid><author>longG_yang</author><pubDate>Wed, 30 Jun 2010 23:38:00 +0800</pubDate><description><![CDATA[MyEclipse的一些设置]]></description><category></category></item><item><title><![CDATA[js比较时间大小]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5321792</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5321792</guid><author>longG_yang</author><pubDate>Wed, 24 Feb 2010 11:00:00 +0800</pubDate><description><![CDATA[    起始时间startTime,结束时间endTime    var first;     first = new Date(startTime.replace(/-/g,"/"));         var second;     second = new Date(endTime.replace(/-/g,"/"));    if(first-second>0)]]></description><category></category></item><item><title><![CDATA[ 遍历hashMap、hashSet、Hashtable]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5256135</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5256135</guid><author>longG_yang</author><pubDate>Mon, 25 Jan 2010 23:36:00 +0800</pubDate><description><![CDATA[一.遍历HashMapMap map = new HashMap();  for(int i=0;i  {   map.put(i, "123");  }方法一：效率比方法二高for(Entry entry:map.entrySet())  {   System.out.println(entry.getKey()+"="+entry.getValue());  }方法二：fo]]></description><category></category></item><item><title><![CDATA[jQuery ajax 乱码问题]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5210340</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5210340</guid><author>longG_yang</author><pubDate>Tue, 19 Jan 2010 00:16:00 +0800</pubDate><description><![CDATA[一.方法1.jsp页面url参数params不需要处理2.后台通过String params = new String(params.getBytes("系统编码"),"UTF-8")方式编码 二.方法1.jsp页面url参数params=encodeURI(encodeURI(params ))，即encodeURI编码两次2.后台通过String params=java]]></description><category></category></item><item><title><![CDATA[jQuery  对表格进行操作]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5132555</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5132555</guid><author>longG_yang</author><pubDate>Tue, 05 Jan 2010 00:03:00 +0800</pubDate><description><![CDATA[实现对表格的一些简单操作：添加一行、删除一行、上移选中行、下移选中行一.html代码：添加一行&nbsp;&nbsp;删除一行&nbsp;&nbsp;上移&nbsp;&nbsp;下移序号栏目排序 二.js代码:var currentStep=0; //当前行var max_line_num=0;//最大行数//添加一行$("#addLine").click(function]]></description><category></category></item><item><title><![CDATA[关于模态窗口]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5066309</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5066309</guid><author>longG_yang</author><pubDate>Thu, 24 Dec 2009 00:23:00 +0800</pubDate><description><![CDATA[一.1.模态窗口：打开后不可以操作父亲窗口var returnValue=window.showModalDialog(url,Arguments,features); 2.非模态窗口：打开后可以操作父亲窗口var returnValue=window.showModelessDialog(url,Arguments,features);3.url:用来指定对话框要显示的网页的URL;]]></description><category></category></item><item><title><![CDATA[jQuery冲突问题]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5066262</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5066262</guid><author>longG_yang</author><pubDate>Thu, 24 Dec 2009 00:13:00 +0800</pubDate><description><![CDATA[方法一.jQuery.noConflict()方法创建一个新的别名用以在接下来的库中使用jQuery对象var $jQuery = jQuery.noConflict();// 基于 jQuery 的代码$jQuery ("input").click(function(){      $(this).hide();}); 方法二.有其他多个js脚本文件导致jQuer]]></description><category></category></item><item><title><![CDATA[jQuery实现checkbok全选后取值]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/5058484</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/5058484</guid><author>longG_yang</author><pubDate>Tue, 22 Dec 2009 23:00:00 +0800</pubDate><description><![CDATA[checkBox allselect1234/*checkbox全选*/$("#sAll").click(function(){      var checked = $(this).attr("checked");      $(".selectable").each(function(){       var subChecked = $(this).attr("checked");   ]]></description><category></category></item><item><title><![CDATA[java面向对象之接口与抽象类]]></title><link>https://blog.youkuaiyun.com/longG_yang/article/details/4138223</link><guid>https://blog.youkuaiyun.com/longG_yang/article/details/4138223</guid><author>longG_yang</author><pubDate>Wed, 29 Apr 2009 23:56:00 +0800</pubDate><description><![CDATA[接口与抽象类的区别： 1 接口可以多重继承,但是抽象类不可以;  接口为了实现系统中的松偶合. 2 抽象类与子类，是父子关系； 而接口则不是,是松偶合的关系. 3 抽象类能够定义方法的实现;  接口不能包含方法的实现。4 最大的区别是由抽象类可以派生出一些成员的实现,但接口却不包含任何成员的实现5 如果继承一个抽象类，当你类更新时，所有的子类都会跟着更新；而接口是一成不变的，一]]></description><category></category></item></channel></rss>