<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[光辉岁月]]></title><description><![CDATA[欢迎来到我的博客，希望能够帮到您，祝您生活愉快，工作愉快！]]></description><link>https://blog.csdn.net/fgh2009</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; fgh2009]]></copyright><item><title><![CDATA[查看Mysql数据库大小]]></title><link>https://blog.csdn.net/fgh2009/article/details/51801196</link><guid>https://blog.csdn.net/fgh2009/article/details/51801196</guid><author>fgh2009</author><pubDate>Fri, 01 Jul 2016 14:42:52 +0800</pubDate><description><![CDATA[查看数据库的大小，并按照schema分组
select TABLE_SCHEMA,concat(round(sum(DATA_LENGTH/1024/1024/1024),2),'G') from tables GROUP BY TABLE_SCHEMA;]]></description><category></category></item><item><title><![CDATA[MySQ查看和设置字符集，数据库，表，字段]]></title><link>https://blog.csdn.net/fgh2009/article/details/46423285</link><guid>https://blog.csdn.net/fgh2009/article/details/46423285</guid><author>fgh2009</author><pubDate>Tue, 09 Jun 2015 10:22:52 +0800</pubDate><description><![CDATA[一、设置编码

LINUX  修改vi/etc/my.cnf

WINDOWS my.ini

　　在[client]下添加

　　   default-character-set=utf8 

　　在[mysqld]下添加

　　   default-character-set=utf8

　  保存，重启mysql即可;




二、创建对象时设置字符集]]></description><category></category></item><item><title><![CDATA[CSS从大图片上截取小图标的使用]]></title><link>https://blog.csdn.net/fgh2009/article/details/43032149</link><guid>https://blog.csdn.net/fgh2009/article/details/43032149</guid><author>fgh2009</author><pubDate>Thu, 22 Jan 2015 23:24:31 +0800</pubDate><description><![CDATA[注：图片名称（tabicons.png）每个小图标width:18px;height:18px

左上角的坐标为(-0px;-0px) 第一个表示图片的宽 第二个表示图标图片的高

例如第一个对号的坐标为(-0px;-0px;)第二个加号的图标为(-20px;-0px;)中间依次加20个像素

截取小图标样式

.icon-config{background-position: -]]></description><category></category></item><item><title><![CDATA[JAVA获取路径]]></title><link>https://blog.csdn.net/fgh2009/article/details/42934953</link><guid>https://blog.csdn.net/fgh2009/article/details/42934953</guid><author>fgh2009</author><pubDate>Tue, 20 Jan 2015 23:21:31 +0800</pubDate><description><![CDATA[转载：http://blog.csdn.net/easyyoung/article/details/6860338


在写java程序时不可避免要获取文件的路径...总结一下,遗漏的随时补上
1.可以在servlet的init方法里
String path = getServletContext().getRealPath("/");
这将获取web项目的全路径
例如 :E:\ec]]></description><category></category></item><item><title><![CDATA[错误提示：PANIC: Could not open AVD config file]]></title><link>https://blog.csdn.net/fgh2009/article/details/42073303</link><guid>https://blog.csdn.net/fgh2009/article/details/42073303</guid><author>fgh2009</author><pubDate>Mon, 22 Dec 2014 02:35:08 +0800</pubDate><description><![CDATA[PANIC: Could not open: C:\Documents and Settings\Administrator\PANIC: Could not open:my_avd.ini 
原来如果你采用绝对路径定位的话，也就是说在环境变量里面把路径写死了，比如你装d:\android-sdk时，你在path里面配成d:\android-sdk；由于android默认path为C:\Docu]]></description><category></category></item><item><title><![CDATA[Mysql笔记]]></title><link>https://blog.csdn.net/fgh2009/article/details/41794757</link><guid>https://blog.csdn.net/fgh2009/article/details/41794757</guid><author>fgh2009</author><pubDate>Mon, 08 Dec 2014 00:13:04 +0800</pubDate><description><![CDATA[1、修改数据库密码
>mysql -u root -p 
Enter password: ****** 
mysql> use mysql; 
mysql> update user set password=password('new_password') where user='root'; 

回显 
Query OK, 0 rows affected (0.00 sec) 
]]></description><category></category></item><item><title><![CDATA[Java错误记录]]></title><link>https://blog.csdn.net/fgh2009/article/details/41078187</link><guid>https://blog.csdn.net/fgh2009/article/details/41078187</guid><author>fgh2009</author><pubDate>Thu, 13 Nov 2014 14:16:58 +0800</pubDate><description><![CDATA[使用JPEGImageEncoder提示Access restriction:错误 解决方案  



当我们在对图片进行操作时，需要使用到 

  JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out); 

            JPEGEncodeParam jep = JPEGCodec.getDefault]]></description><category></category></item><item><title><![CDATA[java处理url中的特殊字符%等]]></title><link>https://blog.csdn.net/fgh2009/article/details/40364645</link><guid>https://blog.csdn.net/fgh2009/article/details/40364645</guid><author>fgh2009</author><pubDate>Wed, 22 Oct 2014 02:09:35 +0800</pubDate><description><![CDATA[转载：

java处理url中的特殊字符（如&,%...）
URL(Uniform Resoure Locator，统一资源定位器)是Internet中对资源进行统一定位和管理的标志。
一个完整的URL包括如下内容：
1.         应用协议名称，包括http,ftp,file等标志
2.         资源定位，是由(.)分割等网络路径
3.         端口号，按照规]]></description><category></category></item><item><title><![CDATA[Jquery使用笔记]]></title><link>https://blog.csdn.net/fgh2009/article/details/37907175</link><guid>https://blog.csdn.net/fgh2009/article/details/37907175</guid><author>fgh2009</author><pubDate>Thu, 17 Jul 2014 15:07:00 +0800</pubDate><description><![CDATA[如果在IE9标准模式下，EasyUI的dataGrid显示的时候有问题，显示记录数为NaN，把easyui中的Demo里的html加上，

也会同样出现NaN的问题。

总结，EasyUi对Html5或IE9标准模式不兼容。]]></description><category></category></item><item><title><![CDATA[微信开发第一篇，使用Java创建成为开发者的应用]]></title><link>https://blog.csdn.net/fgh2009/article/details/23883427</link><guid>https://blog.csdn.net/fgh2009/article/details/23883427</guid><author>fgh2009</author><pubDate>Wed, 16 Apr 2014 23:08:34 +0800</pubDate><description><![CDATA[1、新建WeiXinServlet.java
package com.fgh.servlet;

import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.ser]]></description><category></category></item><item><title><![CDATA[Spring笔记]]></title><link>https://blog.csdn.net/fgh2009/article/details/21879047</link><guid>https://blog.csdn.net/fgh2009/article/details/21879047</guid><author>fgh2009</author><pubDate>Sun, 23 Mar 2014 17:39:27 +0800</pubDate><description><![CDATA[1、在spring项目中页面到action乱码
解决办法：
在web.xml中配置一个编码过滤器

        encodingFilter
        org.springframework.web.filter.CharacterEncodingFilter
        
            encoding
            UTF-8]]></description><category></category></item><item><title><![CDATA[Hibernate中get和load的区别]]></title><link>https://blog.csdn.net/fgh2009/article/details/21820861</link><guid>https://blog.csdn.net/fgh2009/article/details/21820861</guid><author>fgh2009</author><pubDate>Sat, 22 Mar 2014 20:07:31 +0800</pubDate><description><![CDATA[get和load方式是根据id取得一个记录 
下边详细说一下get和load的不同，因为有些时候为了对比也会把find加进来。 

1.从返回结果上对比： 
load方式检索不到的话会抛出org.hibernate.ObjectNotFoundException异常 
get方法检索不到的话会返回null 

2.从检索执行机制上对比： get方法和find方法都是直接从数据库中检索]]></description><category></category></item><item><title><![CDATA[org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-fo]]></title><link>https://blog.csdn.net/fgh2009/article/details/7457111</link><guid>https://blog.csdn.net/fgh2009/article/details/7457111</guid><author>fgh2009</author><pubDate>Fri, 13 Apr 2012 11:25:08 +0800</pubDate><description><![CDATA[Exception in thread "main" java.lang.RuntimeException: Error occurred.  Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: org.xml.sax.SAXParseException: The markup in the docum]]></description><category></category></item><item><title><![CDATA[The processing instruction must begin with the name of the target.]]></title><link>https://blog.csdn.net/fgh2009/article/details/7456982</link><guid>https://blog.csdn.net/fgh2009/article/details/7456982</guid><author>fgh2009</author><pubDate>Fri, 13 Apr 2012 11:01:29 +0800</pubDate><description><![CDATA[Exception in thread "main" java.lang.RuntimeException: Error occurred.  Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: org.xml.sax.SAXParseException: The processing instruct]]></description><category></category></item><item><title><![CDATA[Java Web开发构想]]></title><link>https://blog.csdn.net/fgh2009/article/details/7415503</link><guid>https://blog.csdn.net/fgh2009/article/details/7415503</guid><author>fgh2009</author><pubDate>Sat, 31 Mar 2012 13:56:23 +0800</pubDate><description><![CDATA[1．背景、形势 
能够进行Web开发的编程语言和技术很多 
(1) 动态解释语言 
PHP; Perl; Python (Zope, Plone); Ruby (Ruby on Rails); 
(2) 编译语言 
Java; .net 

Java Web开发远非一枝独秀： 
除了受到来自.net 这个重量级对手的最大挑战之外，更受到Zope, Ruby on Rail 等新式轻]]></description><category></category></item><item><title><![CDATA[单例模式 将的很细]]></title><link>https://blog.csdn.net/fgh2009/article/details/7413661</link><guid>https://blog.csdn.net/fgh2009/article/details/7413661</guid><author>fgh2009</author><pubDate>Sat, 31 Mar 2012 00:22:35 +0800</pubDate><description><![CDATA[Singleton模式可以是很简单的，它的全部只需要一个类就可以完成（看看这章可怜的UML图）。但是如果在“对象创建的次数以及何时被创建”这两点上较真起来，Singleton模式可以相当的复杂，比头五种模式加起来还复杂，譬如涉及到DCL双锁检测（double checked locking）的讨论、涉及到多个类加载器（ClassLoader）协同时、涉及到跨JVM（集群、远程EJB等）时、涉及到单]]></description><category></category></item><item><title><![CDATA[Apusic下java.lang.OutOfMemoryError：PermGen space]]></title><link>https://blog.csdn.net/fgh2009/article/details/7409827</link><guid>https://blog.csdn.net/fgh2009/article/details/7409827</guid><author>fgh2009</author><pubDate>Fri, 30 Mar 2012 09:09:47 +0800</pubDate><description><![CDATA[应用部署在apusic下连续出现java.lang.OutOfMemoryError：PermGen space的问题，系统运行几个小时就会挂掉。google了了一下，发现该问题主要是由于内存使用引起的。正常的解决方法是设置web服务器如：tomcat，apusic等的启动参数，进行内存分配。最主要的是设置好-XX:MaxPermSize=256m这个参数。
         打开bin下的st]]></description><category></category></item><item><title><![CDATA[类中各属性的初始化顺序 ,构造器和初始化块]]></title><link>https://blog.csdn.net/fgh2009/article/details/7387508</link><guid>https://blog.csdn.net/fgh2009/article/details/7387508</guid><author>fgh2009</author><pubDate>Fri, 23 Mar 2012 15:27:04 +0800</pubDate><description><![CDATA[对于静态变量、静态初始化块、变量、初始化块、构造器，它们的初始化顺序以此是（静态变量、静态初始化块）>（变量、初始化块）>构造器。我们可以通过下面的测试代码来验证这一点： 

Java代码 
public class InitialOrderTest {       
      
    // 静态变量       
    public static String staticField]]></description><category></category></item><item><title><![CDATA[Struts2文件上传]]></title><link>https://blog.csdn.net/fgh2009/article/details/7381275</link><guid>https://blog.csdn.net/fgh2009/article/details/7381275</guid><author>fgh2009</author><pubDate>Wed, 21 Mar 2012 22:51:59 +0800</pubDate><description><![CDATA[Action：
package com.fgh.action;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;

import com.opensymphon]]></description><category></category></item><item><title><![CDATA[java.lang.ClassCastException: org.apache.catalina.util.DefaultAnnotationProcessor cannot be cast to]]></title><link>https://blog.csdn.net/fgh2009/article/details/7366924</link><guid>https://blog.csdn.net/fgh2009/article/details/7366924</guid><author>fgh2009</author><pubDate>Sun, 18 Mar 2012 18:22:28 +0800</pubDate><description><![CDATA[运行程序时，出现异常：

出现异常：




HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exce]]></description><category></category></item></channel></rss>