<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[mxp_mxp的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/mxp_mxp</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; mxp_mxp]]></copyright><item><title><![CDATA[log4j中log.isDebugEnabled(), log.isInfoEnabled()和log.isTraceEnabled()作用]]></title><link>https://blog.youkuaiyun.com/mxp_mxp/article/details/8623065</link><guid>https://blog.youkuaiyun.com/mxp_mxp/article/details/8623065</guid><author>mxp_mxp</author><pubDate>Thu, 28 Feb 2013 17:34:21 +0800</pubDate><description><![CDATA[log4j中log.isDebugEnabled(), log.isInfoEnabled()和log.isTraceEnabled()作用

项目在应用log4j打印Debug,Info和Trace级别的log时需要加上对应的三个方法进行过滤，代码如下：
if (log.isDebugEnabled()) {
    log.debug(" From: " + req.getFrom()]]></description><category></category></item><item><title><![CDATA[log4j.propperties配置详解]]></title><link>https://blog.youkuaiyun.com/mxp_mxp/article/details/7904012</link><guid>https://blog.youkuaiyun.com/mxp_mxp/article/details/7904012</guid><author>mxp_mxp</author><pubDate>Wed, 26 Sep 2012 10:31:28 +0800</pubDate><description><![CDATA[Log4J的配置文件(Configuration File)就是用来设置记录器的级别、存放器和布局的，它可接key=value格式的设置或xml格式的设置信息。通过配置，可以创建出Log4J的运行环境
1. 配置文件
Log4J配置文件的基本格式如下：




#配置根Logger
log4j.rootLogger=
[level
] 
, appenderName1
,]]></description><category></category></item><item><title><![CDATA[ajax在tomcat 上正常，部署到weblogic上就出现问题了，提示下载action路径]]></title><link>https://blog.youkuaiyun.com/mxp_mxp/article/details/8019822</link><guid>https://blog.youkuaiyun.com/mxp_mxp/article/details/8019822</guid><author>mxp_mxp</author><pubDate>Wed, 26 Sep 2012 10:29:34 +0800</pubDate><description><![CDATA[ajax在tomcat 上正常，部署到weblogic上就出现问题了，提示下载action路径  :
var fileId ;
   fileId = 'file';
       $.ajaxFileUpload(
        {
          url:path+'shortMessage/importContactAction.jcms',
          type:]]></description><category></category></item><item><title><![CDATA[input type file 限定上传文件类型为txt]]></title><link>https://blog.youkuaiyun.com/mxp_mxp/article/details/8019878</link><guid>https://blog.youkuaiyun.com/mxp_mxp/article/details/8019878</guid><author>mxp_mxp</author><pubDate>Wed, 26 Sep 2012 10:28:43 +0800</pubDate><description><![CDATA[if(/.*\.txt$/.test(document.getElementById("file").value)){
  //提交表单   /  做相应操作
}else{
    alert('请选择txt文件!');
}]]></description><category></category></item><item><title><![CDATA[关于org.hibernate.ObjectNotFoundException: No row with the given identifier exists 的快捷解决问题]]></title><link>https://blog.youkuaiyun.com/mxp_mxp/article/details/7854367</link><guid>https://blog.youkuaiyun.com/mxp_mxp/article/details/7854367</guid><author>mxp_mxp</author><pubDate>Sat, 11 Aug 2012 12:03:26 +0800</pubDate><description><![CDATA[最近时刻系统出现这样的问题，在网上google了一下，结果是因为数据问题。
console错误打印：
严重: Servlet.service() for servlet default threw exception
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.iss]]></description><category></category></item><item><title><![CDATA[读取Properties配置文件内容]]></title><link>https://blog.youkuaiyun.com/mxp_mxp/article/details/7805232</link><guid>https://blog.youkuaiyun.com/mxp_mxp/article/details/7805232</guid><author>mxp_mxp</author><pubDate>Tue, 31 Jul 2012 12:12:27 +0800</pubDate><description><![CDATA[PropertyReaderTest.java文件：
package com.test;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
public class PropertyReaderTest {
 
 public static void readPro]]></description><category></category></item></channel></rss>