<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[gbtyy的专栏]]></title><description><![CDATA[一沙一世界，一花一天堂，一树一菩提，一叶一如来。]]></description><link>https://blog.csdn.net/gbtyy</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; gbtyy]]></copyright><item><title><![CDATA[wildFly部署时sl4J模块冲突]]></title><link>https://blog.csdn.net/gbtyy/article/details/42459387</link><guid>https://blog.csdn.net/gbtyy/article/details/42459387</guid><author>gbtyy</author><pubDate>Tue, 06 Jan 2015 15:04:19 +0800</pubDate><description><![CDATA[问题日志

java.lang.ClassCastException: org.slf4j.impl.Slf4jLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext

解决

新建一个jboss-deployment-structure.xml文件，并将其放在项目的META-INF 或WEB-INF目录]]></description><category></category></item><item><title><![CDATA[程序猿是如何解决SQLServer占CPU100%的]]></title><link>https://blog.csdn.net/gbtyy/article/details/42101271</link><guid>https://blog.csdn.net/gbtyy/article/details/42101271</guid><author>gbtyy</author><pubDate>Tue, 23 Dec 2014 12:55:15 +0800</pubDate><description><![CDATA[文章目录

遇到的问题

使用SQLServer
 Profiler监控数据库

SQL1：查找最新的30条告警事件
SQL2：获取当前的总报警记录数

有哪些SQL语句会导致CPU过高？

查看SQL的查询计划

选择top记录时，尽量为order子句的字段建立索引
查看SQL语句CPU高的语句
通过建立相关索引来减少表扫描

其他优化手段

总结]]></description><category></category></item><item><title><![CDATA[我是如何在SQL Server中处理每天四亿三千万记录的]]></title><link>https://blog.csdn.net/gbtyy/article/details/42100807</link><guid>https://blog.csdn.net/gbtyy/article/details/42100807</guid><author>gbtyy</author><pubDate>Tue, 23 Dec 2014 11:50:03 +0800</pubDate><description><![CDATA[首先声明，我只是个程序员，不是专业的DBA，以下这篇文章是从一个问题的解决过程去写的，而不是一开始就给大家一个正确的结果，如果文中有不对的地方，请各位数据库大牛给予指正，以便我能够更好的处理此次业务。

项目背景

这是给某数据中心做的一个项目，项目难度之大令人发指，这个项目真正的让我感觉到了，商场如战场，而我只是其中的一个小兵，太多的战术，太多的高层之间的较量，太多的内幕了。具体这个项目]]></description><category></category></item><item><title><![CDATA[Java类更改常量后编译不生效]]></title><link>https://blog.csdn.net/gbtyy/article/details/41550027</link><guid>https://blog.csdn.net/gbtyy/article/details/41550027</guid><author>gbtyy</author><pubDate>Thu, 27 Nov 2014 17:55:02 +0800</pubDate><description><![CDATA[最近一个Java项目中需要修改一个静态常量的值，本地修改编译以后调试正常，然后把对应的entity类的class文件上传到服务器对应的目录以后系统依旧我行我素，各种清除缓存，各种重启，最后查询了相关资料，使用GUI反编译工具反编译查看编译后源码，终于找到问题所在：

单纯的修改静态变量是没用的，还要重新编译所有引用静态变量的类，不然不会生效的。

这里就牵扯到Java虚拟机编译机制：在Ja]]></description><category></category></item><item><title><![CDATA[Spring 3.2.* MVC通过Ajax获取JSON数据报406错误]]></title><link>https://blog.csdn.net/gbtyy/article/details/17165605</link><guid>https://blog.csdn.net/gbtyy/article/details/17165605</guid><author>gbtyy</author><pubDate>Fri, 06 Dec 2013 13:41:18 +0800</pubDate><description><![CDATA[Spring 3.2.x通过@ResponseBody标签返回JSON数据的方法都报406错： Failed to load resource:
 the server responded with a status of 406 (Not Acceptable) 以及报错描述： The resource identified by this request is only capable of]]></description><category></category></item><item><title><![CDATA[spring mvc 国际化]]></title><link>https://blog.csdn.net/gbtyy/article/details/16807975</link><guid>https://blog.csdn.net/gbtyy/article/details/16807975</guid><author>gbtyy</author><pubDate>Mon, 18 Nov 2013 19:11:43 +0800</pubDate><description><![CDATA[一、配置resource文件。
	
		
		
			
				/WEB-INF/languages/messages
			
		
	其中,basenames属性是你的properties文件的通用名。如:我的配置文件叫message.properties,message_zh_CN.properties,messages_en_US.properties等等,只要有了这个配置,然后配置JSP]]></description><category></category></item><item><title><![CDATA[轻量级输入字数提示jQuery插件]]></title><link>https://blog.csdn.net/gbtyy/article/details/8697072</link><guid>https://blog.csdn.net/gbtyy/article/details/8697072</guid><author>gbtyy</author><pubDate>Wed, 20 Mar 2013 16:27:47 +0800</pubDate><description><![CDATA[(function($){
        // tipWrap:         提示消息的容器
        // maxNumber:         最大输入字符
        $.fn.artTxtCount = function(tipWrap, maxNumber){
                var countClass = 'js_txtCount',]]></description><category></category></item><item><title><![CDATA[提高 DB2 查询性能的常用方法]]></title><link>https://blog.csdn.net/gbtyy/article/details/8613019</link><guid>https://blog.csdn.net/gbtyy/article/details/8613019</guid><author>gbtyy</author><pubDate>Tue, 26 Feb 2013 11:40:00 +0800</pubDate><description><![CDATA[http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0709zhangdw/]]></description><category></category></item><item><title><![CDATA[web安全验收漏洞修复总结【java项目心血结晶】]]></title><link>https://blog.csdn.net/gbtyy/article/details/8534834</link><guid>https://blog.csdn.net/gbtyy/article/details/8534834</guid><author>gbtyy</author><pubDate>Wed, 23 Jan 2013 16:36:30 +0800</pubDate><description><![CDATA[http://www.docin.com/p-271471596.html]]></description><category></category></item><item><title><![CDATA[Spring 注入 Filter]]></title><link>https://blog.csdn.net/gbtyy/article/details/8495675</link><guid>https://blog.csdn.net/gbtyy/article/details/8495675</guid><author>gbtyy</author><pubDate>Sat, 12 Jan 2013 10:43:51 +0800</pubDate><description><![CDATA[方法一： 
web.xml配置一个
    
        DelegatingFilterProxy
        org.springframework.web.filter.DelegatingFilterProxy
        
            targetBeanName
            myFilter         //自己过滤器的名字]]></description><category></category></item><item><title><![CDATA[主动式session过期提示]]></title><link>https://blog.csdn.net/gbtyy/article/details/8487727</link><guid>https://blog.csdn.net/gbtyy/article/details/8487727</guid><author>gbtyy</author><pubDate>Wed, 09 Jan 2013 22:55:08 +0800</pubDate><description><![CDATA[主动式session过期提示


什么是 “主动式session过期提示”？恩，这是偶给命的名。来源于一个同事问我，js如何实现当session过期的时候弹层提示：您的session已经过期，请重新登录（之类的信息，看不同需求了）。

偶刚听到这个问题，还蛮奇怪的，当离开一个页面时间久到session已经过期了，当再次操作时直接跳转到登录页面不就行了，然后登录框上面可以提示需要重新登录。]]></description><category></category></item><item><title><![CDATA[ajax阻截session跳转页面]]></title><link>https://blog.csdn.net/gbtyy/article/details/8487720</link><guid>https://blog.csdn.net/gbtyy/article/details/8487720</guid><author>gbtyy</author><pubDate>Wed, 09 Jan 2013 22:52:29 +0800</pubDate><description><![CDATA[首先建了个拦截器，来判断session超时。用户登录后会保存用户信息在一个session里，在session的监听里，session超时会销毁保存在session里的用户信息，而拦截器就通过session里是否有用户信息来判断session超时。（我总觉得这种方法不怎么好。不知还有什么更好的办法。）

   拦截器是spring-mvc的拦截器，在拦截器里判断是不是ajax请求：]]></description><category></category></item><item><title><![CDATA[JS服务器获取时间倒计时]]></title><link>https://blog.csdn.net/gbtyy/article/details/8287540</link><guid>https://blog.csdn.net/gbtyy/article/details/8287540</guid><author>gbtyy</author><pubDate>Wed, 12 Dec 2012 17:24:26 +0800</pubDate><description><![CDATA[最近，公司搞营销活动，搞1元抢某某之类的形式，不管他是什么形式，页面设计的倒计时，应该与服务器的时间基本一致。我来说说我的做法，首先用户打开页面，第一次加载页面信息的时候，把服务器的时间传到页面，然后页面与倒计时的时间作比较，计算差值，进行倒计时。

        这么做也有一个弊端，假如说用户的网络比较长，请求的时间比较长，倒计时所看到的时间与服务器的时间相差还是蛮大的，如果JS取的是用户]]></description><category></category></item><item><title><![CDATA[apache shiro与spring的环境搭建]]></title><link>https://blog.csdn.net/gbtyy/article/details/8249015</link><guid>https://blog.csdn.net/gbtyy/article/details/8249015</guid><author>gbtyy</author><pubDate>Sun, 02 Dec 2012 18:49:32 +0800</pubDate><description><![CDATA[[代码] web.xml

        contextConfigLocation
        
             
             classpath:/applicationContext-hibernate.xml
        
   
  
   
   
        shiroFilter
        org.springfr]]></description><category></category></item><item><title><![CDATA[eclipse maven plugin 插件 安装 和 配置]]></title><link>https://blog.csdn.net/gbtyy/article/details/8248344</link><guid>https://blog.csdn.net/gbtyy/article/details/8248344</guid><author>gbtyy</author><pubDate>Sun, 02 Dec 2012 13:23:40 +0800</pubDate><description><![CDATA[环境准备：


eclipse（Helios） 3.6
maven 3.0.4



maven3 安装：
    安装 Maven 之前要求先确定你的 JDK 已经安装配置完成。Maven是 Apache 下的一个项目，目前最新版本是 3.0.4，我用的也是这个。

    首先去官网下载 Maven：http://www.apache.org/dyn/closer.cgi]]></description><category></category></item><item><title><![CDATA[freemarker中spring表单错误信息显示]]></title><link>https://blog.csdn.net/gbtyy/article/details/8014347</link><guid>https://blog.csdn.net/gbtyy/article/details/8014347</guid><author>gbtyy</author><pubDate>Mon, 24 Sep 2012 20:28:23 +0800</pubDate><description><![CDATA[http://hi.baidu.com/danghj/blog/item/e567b5340e1677add0a2d3b6.html

 

只是为了记录，避免忘记

 

action="regDo.do" method="POST">





邮箱



"term.termId">





密码









&nb]]></description><category></category></item><item><title><![CDATA[理解ThreadLocal]]></title><link>https://blog.csdn.net/gbtyy/article/details/7876543</link><guid>https://blog.csdn.net/gbtyy/article/details/7876543</guid><author>gbtyy</author><pubDate>Fri, 17 Aug 2012 11:25:01 +0800</pubDate><description><![CDATA[ThreadLocal是什么

早在JDK 1.2的版本中就提供java.lang.ThreadLocal，ThreadLocal为解决多线程程序的并发问题提供了一种新的思路。使用这个工具类可以很简洁地编写出优美的多线程程序。

ThreadLocal很容易让人望文生义，想当然地认为是一个“本地线程”。其实，ThreadLocal并不是一个Thread，而是Thread的局部变量，也许把它]]></description><category></category></item><item><title><![CDATA[log4j.properties参数]]></title><link>https://blog.csdn.net/gbtyy/article/details/7865093</link><guid>https://blog.csdn.net/gbtyy/article/details/7865093</guid><author>gbtyy</author><pubDate>Tue, 14 Aug 2012 15:11:32 +0800</pubDate><description><![CDATA[log4j.rootLogger=DEBUG,CONSOLE,DATABASE,FILE
log4j.addivity.org.apache=true

 

# 应用于控制台
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.Threshold=INFO
log4j.app]]></description><category></category></item><item><title><![CDATA[几种分页的实现]]></title><link>https://blog.csdn.net/gbtyy/article/details/7565756</link><guid>https://blog.csdn.net/gbtyy/article/details/7565756</guid><author>gbtyy</author><pubDate>Mon, 14 May 2012 17:28:23 +0800</pubDate><description><![CDATA[第一种方式：




分页工具条测试



div.pagination {
    font-size:12;
   font_face:arial;
   font-color:#ffffff;


   padding:3px;
   margin:3px;
   text-align:center;
}


div.pagination a {]]></description><category></category></item><item><title><![CDATA[11g导出数据库脚本到linux下的10g命令]]></title><link>https://blog.csdn.net/gbtyy/article/details/7565741</link><guid>https://blog.csdn.net/gbtyy/article/details/7565741</guid><author>gbtyy</author><pubDate>Mon, 14 May 2012 17:22:47 +0800</pubDate><description><![CDATA[EXPDP USERID='SYS/sys@orcl as sysdba' schemas=hologou directory=DATA_PUMP_DIR dumpfile=2012-04-30-hologou.dmp version=10.2.0.1.0;


IMPDP USERID='SYS/sys@orcl as sysdba' schemas=hologou directory=D]]></description><category></category></item></channel></rss>