<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Michael Feng's的网络日志]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Jason69181</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Jason69181]]></copyright><item><title><![CDATA[Linux内核学习相关资料]]></title><link>https://blog.csdn.net/Jason69181/article/details/8456486</link><guid>https://blog.csdn.net/Jason69181/article/details/8456486</guid><author>Jason69181</author><pubDate>Mon, 31 Dec 2012 23:03:06 +0800</pubDate><description><![CDATA[Books:


Core kernel programming books:


1. Linux device drivers by Rubini, Greg kroah hartman
 and Jim Corbett: Third edition if you really want to learn Kernel programming, this is your book]]></description><category></category></item><item><title><![CDATA[ANDROID解决屏幕旋转而导致重启ACTIVITY]]></title><link>https://blog.csdn.net/Jason69181/article/details/7517800</link><guid>https://blog.csdn.net/Jason69181/article/details/7517800</guid><author>Jason69181</author><pubDate>Fri, 27 Apr 2012 16:32:09 +0800</pubDate><description><![CDATA[原文转自：http://www.sunnyu.com/?p=223



在 ANDROID 程序中禁止屏幕旋转和避免重启ACTIVITY

禁止屏幕随手机旋转变化

有时候我们希望让一个程序的界面始终保持在一个方向，不随手机方向旋转而变化：
在AndroidManifest.xml的每一个需要禁止转向的Activity配置中加入android:screenOrientation]]></description><category></category></item><item><title><![CDATA[在这里的日子]]></title><link>https://blog.csdn.net/Jason69181/article/details/7485458</link><guid>https://blog.csdn.net/Jason69181/article/details/7485458</guid><author>Jason69181</author><pubDate>Sat, 21 Apr 2012 23:33:09 +0800</pubDate><description><![CDATA[又有好段时间没有更新博客了，想说的很多，能回忆起来的却非常分散。有时候灵感来了有所感触的时候往往不在电脑边，而在电脑边的时候往往又没有灵感。只好把一些回想到的片段整理记录。


        进这里3个月多了，上周参加了Meg Whiteman来上海的CEO全体员工大会，还有PSG和IPG合并后的新Boss Todd。穿着西装、皮鞋，坐着公司提供的班车去了会场。发现很多人很多，自己的打扮倒]]></description><category></category></item><item><title><![CDATA[【代码】JCrop头像剪辑预览+后端实现]]></title><link>https://blog.csdn.net/Jason69181/article/details/7484935</link><guid>https://blog.csdn.net/Jason69181/article/details/7484935</guid><author>Jason69181</author><pubDate>Sat, 21 Apr 2012 19:22:45 +0800</pubDate><description><![CDATA[头像上传的插件似乎要用到的时候非常少，查了下网上提供的插件，有些还是使用GPL协议的，果断弃之。
最终选用了JCrop来实现（补充下JCrop提供多种编辑方式和样式，使用MIT License)。
MIT License：
The MIT License

Copyright ©2008 Kelly Hallman and Deep Liquid Group

Permission is h]]></description><category></category></item><item><title><![CDATA[【代码】Java比较文件夹文件]]></title><link>https://blog.csdn.net/Jason69181/article/details/7468997</link><guid>https://blog.csdn.net/Jason69181/article/details/7468997</guid><author>Jason69181</author><pubDate>Tue, 17 Apr 2012 12:04:31 +0800</pubDate><description><![CDATA[有一款文件比较软件Winmerge的文件夹比较功能比较少，只能比较当前目录下的文件数和文件差别。
但由于需要，查看两个类似的目录中，其中一个少了那些文件。所以就自己写了个脚本，来遍历。
代码如下，由于图省事 ‘\‘ 也没处理，就是列出其中一个文件夹少了哪些文件的功能。
public static void compDir(String dir1, String dir2) {
		File]]></description><category></category></item><item><title><![CDATA[迟到的新年计划]]></title><link>https://blog.csdn.net/Jason69181/article/details/7439285</link><guid>https://blog.csdn.net/Jason69181/article/details/7439285</guid><author>Jason69181</author><pubDate>Mon, 09 Apr 2012 02:19:52 +0800</pubDate><description><![CDATA[在新年之初没有任何来年计划，现在自己意识到要在自己的生活完全变成一团乱之前，努力改变自己。朝着逐渐退化的梦想，拾起曾经年少轻狂的梦想和目标，走下去。在凌晨明天还要上班的时候，完全不管了。即使决心早上6点要起床的今天。也要长长的写完这篇立志兼慵懒俗套的军令状。
        我觉得自己的生活应该过得更加的随意自由。曾经在大学里面给自己拟时间表，什么时候做什么事都按着时间表走的生活，显然和周围的人]]></description><category></category></item><item><title><![CDATA[Weblogic报java.lang.StackOverflowError]]></title><link>https://blog.csdn.net/Jason69181/article/details/7432766</link><guid>https://blog.csdn.net/Jason69181/article/details/7432766</guid><author>Jason69181</author><pubDate>Fri, 06 Apr 2012 16:58:08 +0800</pubDate><description><![CDATA[>    
java.lang.StackOverflowError


遇到这样的情况很大可能是程序中不断地分配对象超出了JVM的stack size。在程序有递归的情况中更常见。


解决办法： 
1.修改程序逻辑(在此不对做说明)
2.增加JVM虚拟机的参数（给每个线程指定stack的更大的size）
-Xss2M







O/S


32-b]]></description><category></category></item><item><title><![CDATA[Java Mail 发送邮件]]></title><link>https://blog.csdn.net/Jason69181/article/details/7405236</link><guid>https://blog.csdn.net/Jason69181/article/details/7405236</guid><author>Jason69181</author><pubDate>Wed, 28 Mar 2012 23:25:45 +0800</pubDate><description><![CDATA[引入mail.jar和activation.jar，可根据在oracle javamail相关页面下载。


不多说直接看代码，调试即可完成。根据不同的邮箱需要，修改代码中的smtp和邮箱及密码。

package com.michael.test;

import java.util.Date;
import java.util.Properties;
import javax.mai]]></description><category></category></item><item><title><![CDATA[三月近况]]></title><link>https://blog.csdn.net/Jason69181/article/details/7400062</link><guid>https://blog.csdn.net/Jason69181/article/details/7400062</guid><author>Jason69181</author><pubDate>Tue, 27 Mar 2012 19:46:00 +0800</pubDate><description><![CDATA[除了最近又开始迷茫和反迷茫的较量后，内心开始孤独与反孤独的斗争，再接着慢慢的自我调整中。总的来说，还是没有那么的Positive。在20好几的年龄段里面，在众多本科同学还没拿到毕业证的情况下，自己已在500强的公司拿着能养活自己还有点剩余的工资，在上海开始了自己的奋斗。迷茫是因为工作上的困惑和感觉低落，进而想到自己自我感觉良好的自我意识，总有那么点优越感不知从身体的哪个位置产生和发出来，慢慢感觉到]]></description><category></category></item><item><title><![CDATA[java.net.connectexception connection timed out connect 加载配置]]></title><link>https://blog.csdn.net/Jason69181/article/details/7388126</link><guid>https://blog.csdn.net/Jason69181/article/details/7388126</guid><author>Jason69181</author><pubDate>Fri, 23 Mar 2012 17:23:12 +0800</pubDate><description><![CDATA[加载配置文件的时候数据库是可以连上的，但是反复的报这个错，最后终于在google找到问题。




部分xml文件开头为：





统一修改为：








xml解析的问题，小小的tricky，折腾阿。




以下为原文摘自引用：

链接：http://zhouhaitao.iteye.com/blog/1168141

居然报了]]></description><category></category></item><item><title><![CDATA[ubuntu 11.10 brightness doesn't work]]></title><link>https://blog.csdn.net/Jason69181/article/details/7341191</link><guid>https://blog.csdn.net/Jason69181/article/details/7341191</guid><author>Jason69181</author><pubDate>Sun, 11 Mar 2012 01:36:51 +0800</pubDate><description><![CDATA[First back up:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.backup


Then:
sudo gedit /etc/X11/xorg.conf


Find the "Option
 "No Logo" " Add this underneath:
Option "RegistryDwords" "EnableBrightn]]></description><category></category></item><item><title><![CDATA[Weblogic报unable to access the selected application]]></title><link>https://blog.csdn.net/Jason69181/article/details/7331543</link><guid>https://blog.csdn.net/Jason69181/article/details/7331543</guid><author>Jason69181</author><pubDate>Thu, 08 Mar 2012 09:46:42 +0800</pubDate><description><![CDATA[Unable to access the selected application.







 
Exception in AppMerge flows' progression






 
 
Exception in AppMerge flows' progression






 
 
Unmarshaller failed]]></description><category></category></item><item><title><![CDATA[ANT报 Error starting modern compiler]]></title><link>https://blog.csdn.net/Jason69181/article/details/7331168</link><guid>https://blog.csdn.net/Jason69181/article/details/7331168</guid><author>Jason69181</author><pubDate>Thu, 08 Mar 2012 00:21:15 +0800</pubDate><description><![CDATA[在命令行中：
除了检查基本的JAVA_HOME路径之外，
在CLASSPATH环境变量中增加，jdk的tools.jar 后问题解决。（这个问题是在晚上在命令行中运行ant报的错）


在Eclipse中：
在eclipse中出现这个问题不同的情况都会有不同的提示，解决办法是修改eclipse的compiler的版本（下午遇到的这个问题是在Eclipse中运行ant报的错）]]></description><category></category></item><item><title><![CDATA[陷入迷途，程序员]]></title><link>https://blog.csdn.net/Jason69181/article/details/7317565</link><guid>https://blog.csdn.net/Jason69181/article/details/7317565</guid><author>Jason69181</author><pubDate>Sun, 04 Mar 2012 11:59:04 +0800</pubDate><description><![CDATA[之前因为CSDN的秘密泄露事件对这个网站基本失去了信心，并一度不再登录。 现在想来即使是公布密码又有什么呢，反正也是无用的信息除了多手写垃圾邮件，其他帐号受到风险等等副作用之外也就那么回事了。促使我继续想回到这个博客的原因之一是我没有其他个人的博客，除了朋友的博客上去发文章外，没有自己想记点东西的地方。而且现在，自己正处在一个非常糟糕的状况中。我把它叫做迷途。
看过《回归，程序员》的那篇文章的朋]]></description><category></category></item><item><title><![CDATA[Struts 1.x环境搭建和简单应用]]></title><link>https://blog.csdn.net/Jason69181/article/details/7317437</link><guid>https://blog.csdn.net/Jason69181/article/details/7317437</guid><author>Jason69181</author><pubDate>Sun, 04 Mar 2012 11:04:43 +0800</pubDate><description><![CDATA[由于工作需要接手到使用Struts 1.x的项目，且需要使用struts的一些属性，故在自己本地搭建了下环境来练习，希望能对你有帮助。

1.搭建环境，下载struts-1.3.10-all.zip, 包括jar包、源码、例子、文档

1.1创建一个Web Project

1.2导入jar包(一般放入WEB-INF/lib目录)

1.3建立一个配置文件：struts-confi]]></description><category></category></item><item><title><![CDATA[XSS (Cross-Site-Scripting)笔记]]></title><link>https://blog.csdn.net/Jason69181/article/details/7317432</link><guid>https://blog.csdn.net/Jason69181/article/details/7317432</guid><author>Jason69181</author><pubDate>Sun, 04 Mar 2012 11:02:48 +0800</pubDate><description><![CDATA[Cross-Site-Scripting也称跨站脚本攻击,缩写通常为XSS.

或者先到这里补充下知识：http://en.wikipedia.org/wiki/Cross-site_scripting

由于工作需要最近在研究一些常用的攻击方式和漏洞，用以预防和修复.如果你还没有听过说这些，可能你需要先阅读下以下的内容以帮助你快速进入状态。

XSS主要可分为三种，Reflected]]></description><category></category></item><item><title><![CDATA[报错SQL state [null]; error code [17027]; 流已被关闭; nested exception is java.sql.SQLException: 流已被关闭]]></title><link>https://blog.csdn.net/Jason69181/article/details/7056866</link><guid>https://blog.csdn.net/Jason69181/article/details/7056866</guid><author>Jason69181</author><pubDate>Fri, 09 Dec 2011 14:37:36 +0800</pubDate><description><![CDATA[SQL state [null]; error code [17027]; 流已被关闭; nested exception is java.sql.SQLException: 流已被关闭
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLE]]></description><category></category></item><item><title><![CDATA[Github快速入门手册]]></title><link>https://blog.csdn.net/Jason69181/article/details/7047619</link><guid>https://blog.csdn.net/Jason69181/article/details/7047619</guid><author>Jason69181</author><pubDate>Tue, 06 Dec 2011 20:55:34 +0800</pubDate><description><![CDATA[最近在试用Github，开源的思想也让人觉得把一些经验分享出来是非常好的事情。附件是doc文件，如有需要请注意查收。希望能对你有帮助。


GITHUB基于互联网的版本控制快速入门手册
  
如有不妥，欢迎指正
转载请注明出处！
Github介绍wiki：http://en.wikipedia.org/wiki/GitHub
Github官网：https://github.com/]]></description><category></category></item><item><title><![CDATA[java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column]]></title><link>https://blog.csdn.net/Jason69181/article/details/7035038</link><guid>https://blog.csdn.net/Jason69181/article/details/7035038</guid><author>Jason69181</author><pubDate>Fri, 02 Dec 2011 14:50:37 +0800</pubDate><description><![CDATA[解决方法：
换了一个class12.jar就不再出现问题了，发现原来的class12.jar包1.35M，oracle目录下的取过来的class12.jar1.12M左右]]></description><category></category></item><item><title><![CDATA[org.apache.jasper.JasperException: Unable to load class for JSP]]></title><link>https://blog.csdn.net/Jason69181/article/details/7034081</link><guid>https://blog.csdn.net/Jason69181/article/details/7034081</guid><author>Jason69181</author><pubDate>Fri, 02 Dec 2011 10:45:30 +0800</pubDate><description><![CDATA[解决方法：
把你的 jstl.jar 等等jar文件复制到 tomcat/shared/lib 目录下面]]></description><category></category></item></channel></rss>