<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ubuntu,debian,redhat -linuxany.com &#187; Java/jsp</title>
	<atom:link href="http://www.linuxany.com/archives/tag/java-programming/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxany.com</link>
	<description></description>
	<lastBuildDate>Thu, 26 Jan 2012 08:59:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>debian下JAVA中文显示乱码问题的解决</title>
		<link>http://www.linuxany.com/archives/214.html</link>
		<comments>http://www.linuxany.com/archives/214.html#comments</comments>
		<pubDate>Fri, 22 Feb 2008 03:40:25 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[Java/jsp]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[font]]></category>

		<guid isPermaLink="false">http://www.linuxplay.cn/index.php/archives/215</guid>
		<description><![CDATA[1. 在 jre/lib/fonts/ 下建立个目录 fallback 比如我这儿就是 mkdir /usr/lib/j2sdk1.5-sun/jre/lib/fonts/fallback/ 2. 在 fallback 里弄个中文字体 拷贝或链接都可以 比如我这就是 ln -s /usr/share/fonts/truetype/arphic/uming.ttf /usr/lib/j2sdk1.5-sun/jre/lib/fonts/fallback/ 3. 进入 jre/lib/fonts/fallback/ 执行 mkfontscale 再把 jre/lib/fonts/fonts.scale 的内容加到 jre/lib/fonts/fonts.dir 我这儿就是 cd /usr/lib/j2sdk1.5-sun/jre/lib/fonts/fallback/ mkfontscale cd .. cat fallback/fonts.scale &#62;&#62; fonts.dir 您还可能感兴趣的内容Debian 无缝升级Debian5至Debian6(不重装系统)在Debian上安装SVN[原创]玩转Debian5——安装(LXDE桌面)Debian建立CVS服务器Debian/Ubuntu Linux下建立python的开发环境]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/214.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tomcat:如何在你的应用程序中应用追踪</title>
		<link>http://www.linuxany.com/archives/158.html</link>
		<comments>http://www.linuxany.com/archives/158.html#comments</comments>
		<pubDate>Wed, 30 Jan 2008 03:48:43 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[Java/jsp]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[Log]]></category>

		<guid isPermaLink="false">http://www.linuxplay.cn/index.php/archives/158</guid>
		<description><![CDATA[追踪主要是用来做问题诊断。当你这么考虑问题时，追踪什么就会有很多不同的选择。首先，如果应用程序很小，你可能想要追踪所有的东西。这样可以帮助你在代码的未预料领域发现问题。但是，随着应用程序的扩大，这种完整的追踪方式的有效性降低了，因为它使得很多有用信息变得模糊。 在大的应用程序中，你或许只想追踪有可能会发现问题的领域，或者除此之外你还想追踪你的API类。这就意味着如果一个问题发生在了一个客户端程序，那么你必须去确定谁的代码发生了错误。如果这个错误发生在你的代码中，那么查看API的哪个部分正在被使用，并且被怎样使用就是很有帮助的了。 在决定把追踪应用到你的应用程序之后，你或许想要配置一些你的追踪的细节信息。这是通过配置logging.properties文件完成的。 如果想要把追踪结果显示在终端同时输出到一个文本文件，那么就需要把配置文件 &#60;font face=&#34;Courier New&#34;&#62;handlers= java.util.logging.ConsoleHandler&#60;/font&#62; 改成 &#60;font face=&#34;Courier New&#34;&#62;handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler&#60;/font&#62; 。如果只是把结果输出到一个文本文件中，那么就把它改成 &#60;font face=&#34;Courier New&#34;&#62;handlers= java.util.logging.FileHandler&#60;/font&#62; 。稍后你需要为文件管理添加一些配置设置： java.util.logging.FileHandler.pattern = %h/java%u.logjava.util.logging.FileHandler.limit = 50000java.util.logging.FileHandler.count = 1java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter 更新后的logging.properties文件，如列表5所示： logging.properties文件 # Global properties handlers = java.util.logging.FileHandler,     java.util.logging.ConsoleHandler .level = INFO # Handler specific properties. java.util.logging.ConsoleHandler.level = FINER java.util.logging.ConsoleHandler.formatter =     java.util.logging.SimpleFormatter     java.util.logging.FileHandler.pattern [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/158.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

