<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Only the heart peace will be prosperity]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/meng198672</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; meng198672]]></copyright><item><title><![CDATA[即时搜索的input和propertychange方法]]></title><link>https://blog.csdn.net/meng198672/article/details/84915009</link><guid>https://blog.csdn.net/meng198672/article/details/84915009</guid><author>meng198672</author><pubDate>Tue, 16 Jan 2018 16:59:01 +0800</pubDate><description><![CDATA[
做搜索功能的时候，经常遇到输入框检查的需求，最常见的是即时搜索，今天好好小结一下。
即时搜索的方案：
（1）change事件    触发事件必须满足两个条件：
 
a）当前对象属性改变，并且是由键盘或鼠标事件激发的（脚本触发无效）
b）当前对象失去焦点(onblur)
 （2）keypress  恩，还好。。。。。就是能监听键盘事件，鼠标复制黏贴操作他就无能为力的赶脚了。。。。。
...]]></description><category></category></item><item><title><![CDATA[grails文件上传下载]]></title><link>https://blog.csdn.net/meng198672/article/details/84914477</link><guid>https://blog.csdn.net/meng198672/article/details/84914477</guid><author>meng198672</author><pubDate>Thu, 04 Jan 2018 17:28:18 +0800</pubDate><description><![CDATA[
//1.controller
package com.xdth

class UploadController {

    def index() {
        render(view:&quot;../index&quot;)
    }

    /**
     * 文件上传
     * @return
     */
    def upload(){
       ...]]></description><category></category></item><item><title><![CDATA[java获得系统盘符(Windows、linux自动切换)]]></title><link>https://blog.csdn.net/meng198672/article/details/84913889</link><guid>https://blog.csdn.net/meng198672/article/details/84913889</guid><author>meng198672</author><pubDate>Fri, 22 Dec 2017 16:08:23 +0800</pubDate><description><![CDATA[
做文件读写时，本机开发是windows系统，但服务器是linux系统。
windows系统：
final static String path = &quot;D:&quot;;
final static String FILE_SEPARATOR = &quot;\\&quot;;final static String file = &quot;春光山色一期 小区信息表.xls&quot;;
最终路径为：D:\春光山色一期 小区信息表.xls...]]></description><category></category></item><item><title><![CDATA[grails文件下载+图片查看]]></title><link>https://blog.csdn.net/meng198672/article/details/84913032</link><guid>https://blog.csdn.net/meng198672/article/details/84913032</guid><author>meng198672</author><pubDate>Tue, 05 Dec 2017 10:13:04 +0800</pubDate><description><![CDATA[
/**
 * 下载
 * @return
*/
def download(){
    def fileObj = ValuationHistoryForNSQ.get(params[&quot;id&quot;])
    def file_name = fileObj.getFile_name()
    def file_type = fileObj.getFile_type()
    d...]]></description><category></category></item><item><title><![CDATA[（转）九句良言胜敲十年代码 ]]></title><link>https://blog.csdn.net/meng198672/article/details/84510074</link><guid>https://blog.csdn.net/meng198672/article/details/84510074</guid><author>meng198672</author><pubDate>Fri, 06 Dec 2013 15:32:51 +0800</pubDate><description><![CDATA[
以下文章转自：http://qindongliang1922.iteye.com/blog/1982702  ，是摘写了张龙老师的一篇博客
 
我看了之后觉得非常好，我觉得有激情、有耐心、耐得住寂寞，这些不光是做程序，天下所有事都需要这样，即使以后我不做程序了，我也会记得这些。下面是张龙老师的原文。
 
1. 基础的重要性。我总是不断强调基础的重要性，因为我是有切身体会的。基础的东西可以...]]></description><category></category></item><item><title><![CDATA[Oracle时间问题]]></title><link>https://blog.csdn.net/meng198672/article/details/84423287</link><guid>https://blog.csdn.net/meng198672/article/details/84423287</guid><author>meng198672</author><pubDate>Thu, 25 Apr 2013 16:03:11 +0800</pubDate><description><![CDATA[
1.当期时间前一分钟
select  sysdate,sysdate-1/(24*60*60) from dual;--当前时间的前一秒钟
select  sysdate,sysdate-1/(24*60) from dual;--当前时间的前一分钟
select  sysdate,sysdate-1/(24) from dual;--当前时间的前一小时 
select  sysdat...]]></description><category></category></item><item><title><![CDATA[mysql 时间列自动插入当前日期时间 ]]></title><link>https://blog.csdn.net/meng198672/article/details/84215341</link><guid>https://blog.csdn.net/meng198672/article/details/84215341</guid><author>meng198672</author><pubDate>Wed, 09 May 2012 13:46:08 +0800</pubDate><description><![CDATA[     用current_timestamp，不过这个默认值只用在timestamp的列，对datetime列无效例子：

create table default_time (  id int not null primary key auto_increment,  name varchar(20) default 'chenlb',  my_time timestamp default ...]]></description><category></category></item><item><title><![CDATA[java switch的使用+switch用String作为条件]]></title><link>https://blog.csdn.net/meng198672/article/details/84174040</link><guid>https://blog.csdn.net/meng198672/article/details/84174040</guid><author>meng198672</author><pubDate>Fri, 23 Mar 2012 16:58:15 +0800</pubDate><description><![CDATA[一、java switch的基本使用：
/* int参数的switch */
int x = new Random().nextInt(3);// 0至2的随机数
System.out.println(&quot;x=&quot; + x);
switch (x) {
case 0:
	System.out.println(&quot;随机0&quot;);break;
case 1:
	System.out.print...]]></description><category></category></item><item><title><![CDATA[java的Map循环]]></title><link>https://blog.csdn.net/meng198672/article/details/84173730</link><guid>https://blog.csdn.net/meng198672/article/details/84173730</guid><author>meng198672</author><pubDate>Fri, 23 Mar 2012 11:18:58 +0800</pubDate><description><![CDATA[import java.util.ArrayList;
import java.util.HashMap;
import 
java.util.Iterator;
import java.util.List;
import java.util.Map;
import 
java.util.Set;
//循环遍历map的方法
public class CircleMap {
pu...]]></description><category></category></item><item><title><![CDATA[Java字符串倒序输出 + 数组的排序]]></title><link>https://blog.csdn.net/meng198672/article/details/84165313</link><guid>https://blog.csdn.net/meng198672/article/details/84165313</guid><author>meng198672</author><pubDate>Thu, 08 Mar 2012 18:06:13 +0800</pubDate><description><![CDATA[一、Java字符串倒序输出
 
 


方法一：利用String类的toCharArray（），再倒序输出数组。

Java代码
1 public class javatest {
2 public static void main（String［］ args） {
3 String originalString = “abcdefg”;
4 String resultStr...]]></description><category></category></item><item><title><![CDATA[HTML转义字符]]></title><link>https://blog.csdn.net/meng198672/article/details/84157656</link><guid>https://blog.csdn.net/meng198672/article/details/84157656</guid><author>meng198672</author><pubDate>Thu, 23 Feb 2012 14:53:07 +0800</pubDate><description><![CDATA[ 


HTML字符实体（Character Entities），转义字符串（Escape Sequence）



为什么要用转义字符串？
HTML中&amp;lt;，&amp;gt;，&amp;amp;等有特殊含义（&amp;lt;，&amp;gt;，用于链接签，&amp;amp;用于转义），不能直接使用。这些符号是不显示在我们最终看到的网页里的，那如果我们希望在网页中显示这些符号，该怎么办呢？ 

这就要说到HTML转...]]></description><category></category></item><item><title><![CDATA[JS操作 <frameset>  <frame> 对象+js给frameset设置rows]]></title><link>https://blog.csdn.net/meng198672/article/details/84157101</link><guid>https://blog.csdn.net/meng198672/article/details/84157101</guid><author>meng198672</author><pubDate>Wed, 22 Feb 2012 16:42:09 +0800</pubDate><description><![CDATA[###我的应用(js给frameset设置rows)


1.框架frameset页面

&amp;lt;frameset cols=&quot;*&quot; rows=&quot;74,*&quot; style=&quot;height: 100%;&quot; framespacing=&quot;0&quot; id=&quot;globalFrame&quot;&amp;gt;
  &amp;lt;frame scrolling=&quot;no&quot; marginwidth=]]></description><category></category></item><item><title><![CDATA[ibatIS中$与#的区别]]></title><link>https://blog.csdn.net/meng198672/article/details/84153743</link><guid>https://blog.csdn.net/meng198672/article/details/84153743</guid><author>meng198672</author><pubDate>Wed, 15 Feb 2012 17:36:52 +0800</pubDate><description><![CDATA[在ibatIS中经常会用到： $ 和 # 符号。
 
一、区别
$aaa$ 输出参数是以字符串方式直接输出 123


#aaa# 输出参数是以Parameter方式输出 @aaa

 
二、实际应用
1.sqlMap配置文件
&amp;lt;!-- 查询左树菜单 --&amp;gt;
&amp;lt;select id=&quot;queryMenu&quot;  parameterClass=&quot;com.hanpe...]]></description><category></category></item><item><title><![CDATA[ibatIS的parameterClass="java.util.HashMap"使用Map类型参数]]></title><link>https://blog.csdn.net/meng198672/article/details/84152352</link><guid>https://blog.csdn.net/meng198672/article/details/84152352</guid><author>meng198672</author><pubDate>Mon, 13 Feb 2012 11:49:37 +0800</pubDate><description><![CDATA[ 
ibatIS中的parameterClass，一般分类两种，1种为传model，另一种为传map
 
一、parameterClass传model参数
&amp;lt;select id=&quot;queryModel&quot;  parameterClass=&quot;com.hanpeng.base.phone.model.TDictionary&quot; resultClass=&quot;com.hanpeng.base.ph...]]></description><category></category></item><item><title><![CDATA[ibatIS中的isNotNull、isEqual、isEmpty]]></title><link>https://blog.csdn.net/meng198672/article/details/84151525</link><guid>https://blog.csdn.net/meng198672/article/details/84151525</guid><author>meng198672</author><pubDate>Fri, 10 Feb 2012 17:13:08 +0800</pubDate><description><![CDATA[isNull判断property字段是否是null，用isEmpty更方便，包含了null和空字符串
 
例子一：
isEqual相当于equals，数字用得多些，一般都是判断状态值
&amp;lt;isEqual property=&quot;state&quot; compareValue=&quot;0&quot;&amp;gt;
&amp;lt; /isEqual&amp;gt;
或
&amp;lt;isEqual property=&quot;state&quot; co...]]></description><category></category></item><item><title><![CDATA[Apache commons 工具包应用]]></title><link>https://blog.csdn.net/meng198672/article/details/84151353</link><guid>https://blog.csdn.net/meng198672/article/details/84151353</guid><author>meng198672</author><pubDate>Fri, 10 Feb 2012 14:01:13 +0800</pubDate><description><![CDATA[Apache Commons 

是一个非常有用的工具包，解决各种实际的通用问题，你会发现它们正是你冥思苦想所需要的东西。它们不是绝世武功，但确是个随手可用的擒手，Commons一出，问题手到擒来。常用的有：

commons-lang
commons-collections
commons-io
commons-beanutils
，下面是一个全面的简述表：





...]]></description><category></category></item><item><title><![CDATA[jQuery Ajax 实例 ($.ajax、$.post、$.get)]]></title><link>https://blog.csdn.net/meng198672/article/details/84150620</link><guid>https://blog.csdn.net/meng198672/article/details/84150620</guid><author>meng198672</author><pubDate>Thu, 09 Feb 2012 10:43:12 +0800</pubDate><description><![CDATA[Jquery在异步提交方面封装的很好，直接用AJAX非常麻烦，Jquery大大简化了我们的操作，不用考虑浏览器的诧异了。
推荐一篇不错的jQuery Ajax 实例文章，忘记了可以去看看，地址为：http://www.cnblogs.com/yeer/archive/2009/07/23/1529460.html 和 http://www.w3school.com.cn/jquery/

 ...]]></description><category></category></item><item><title><![CDATA[checkbox加onClick事件,ajax异步请求后台，$.ajax]]></title><link>https://blog.csdn.net/meng198672/article/details/84150350</link><guid>https://blog.csdn.net/meng198672/article/details/84150350</guid><author>meng198672</author><pubDate>Wed, 08 Feb 2012 17:02:42 +0800</pubDate><description><![CDATA[XXX平台要实现一个功能，公告弹出页面上使用复选框设置不再通知此类公告。
 
原理：&amp;lt;input type=&quot;checkbox&quot; id=&quot;isSelect&quot; name=&quot;isSelect&quot; value=&quot;10&quot; onclick=&quot;javascript:noTips();&quot;/&amp;gt;，checkbox选中后提交表单，那么struts2的Action中isSelect就为'10'，不选中]]></description><category></category></item><item><title><![CDATA[myeclipse10.0优化，其它版本也适用]]></title><link>https://blog.csdn.net/meng198672/article/details/84130867</link><guid>https://blog.csdn.net/meng198672/article/details/84130867</guid><author>meng198672</author><pubDate>Sat, 21 Jan 2012 12:34:57 +0800</pubDate><description><![CDATA[我用的是myeclipse10.0做的优化，早起版本8.5、8.6也都大同小异 






一、Myeclipse10修改字体


MyEclipse10是基于Eclipse3.7内核，但在Eclipse的Preferences-〉general-〉Appearance-&amp;gt;Colors and Fonts 中并没有找到Courier New字体,它采用的是Consola...]]></description><category></category></item><item><title><![CDATA[java replaceall()和replace()]]></title><link>https://blog.csdn.net/meng198672/article/details/84129303</link><guid>https://blog.csdn.net/meng198672/article/details/84129303</guid><author>meng198672</author><pubDate>Mon, 16 Jan 2012 15:22:30 +0800</pubDate><description><![CDATA[####我的应用
String path=&quot;D:\\b2cPlatform\\onlinePayment&quot;;
imgPath =  path.replace(&quot;\\&quot;, &quot;/&quot;);
 

乍一看，字面上理解好像replace只替换第一个出现的字符（受javascript的影响），replaceall替换所有的字符，其实大不然，只是替换的用途不一样。
public 
String re...]]></description><category></category></item></channel></rss>