<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[feng413]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/feng413</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; feng413]]></copyright><item><title><![CDATA[char[]与byte[]之间转换]]></title><link>https://blog.youkuaiyun.com/feng413/article/details/83331305</link><guid>https://blog.youkuaiyun.com/feng413/article/details/83331305</guid><author>feng413</author><pubDate>Fri, 09 Jan 2009 11:30:46 +0800</pubDate><description><![CDATA[主要是解码器的选择
1、char[]-&gt;byte[]
[code=&quot;java&quot;]
private byte[] getBytes (char[] chars) {
   Charset cs = Charset.forName (&quot;UTF-8&quot;);
   CharBuffer cb = CharBuffer.allocate (chars.length);
   cb.put (cha...]]></description><category></category></item><item><title><![CDATA[Servlet的write中文乱码]]></title><link>https://blog.youkuaiyun.com/feng413/article/details/83331036</link><guid>https://blog.youkuaiyun.com/feng413/article/details/83331036</guid><author>feng413</author><pubDate>Thu, 08 Jan 2009 12:01:32 +0800</pubDate><description><![CDATA[1、使用PrintWriter,在得到printwriter之前设置contentType
[code=&quot;java&quot;]
resp.setContentType(&quot;text/html;charset=UTF-8&quot;);
PrintWriter writer = resp.getWriter();
[/code]
2、使用ServletOutputStream,因为outputstream是面...]]></description><category></category></item><item><title><![CDATA[ant的jar打包的target]]></title><link>https://blog.youkuaiyun.com/feng413/article/details/83328480</link><guid>https://blog.youkuaiyun.com/feng413/article/details/83328480</guid><author>feng413</author><pubDate>Mon, 29 Dec 2008 11:00:39 +0800</pubDate><description><![CDATA[[code=&quot;java&quot;]

	
	
	
	
	
	

	
		
			
		
	

	
		clean build dir
		
		
	

	
		
	

	
		compile the source
		
			
			
		
	

	
		
			
				
			
			
				
				
			
		...]]></description><category></category></item><item><title><![CDATA[SQL Server LDF日志文件过大引起的“查询超时”]]></title><link>https://blog.youkuaiyun.com/feng413/article/details/83320874</link><guid>https://blog.youkuaiyun.com/feng413/article/details/83320874</guid><author>feng413</author><pubDate>Tue, 02 Dec 2008 10:42:16 +0800</pubDate><description><![CDATA[1、DUMP　TRANSACTION　库名　WITH　NO_LOG  
2、BACKUP　LOG　库名　WITH　NO_LOG  
3、收缩数据库  (对数据库点右键 --任务 --收缩--选文件--日志文件 ) ]]></description><category></category></item><item><title><![CDATA[Http协议Range域格式]]></title><link>https://blog.youkuaiyun.com/feng413/article/details/83284811</link><guid>https://blog.youkuaiyun.com/feng413/article/details/83284811</guid><author>feng413</author><pubDate>Wed, 10 Sep 2008 11:48:10 +0800</pubDate><description><![CDATA[Range头域可以请求实体的一个或者多个子范围。例如， 
　　表示头500个字节：bytes=0-499 
　　表示第二个500字节：bytes=500-999 
　　表示最后500个字节：bytes=-500 
　　表示500字节以后的范围：bytes=500- 
　　第一个和最后一个字节：bytes=0-0,-1 
　　同时指定几个范围：bytes=500-600,601-999 ...]]></description><category></category></item><item><title><![CDATA[inputStreamUtil]]></title><link>https://blog.youkuaiyun.com/feng413/article/details/83266457</link><guid>https://blog.youkuaiyun.com/feng413/article/details/83266457</guid><author>feng413</author><pubDate>Mon, 18 Aug 2008 13:52:24 +0800</pubDate><description><![CDATA[[code=&quot;java&quot;]
public class InputStreamUtil {
	/**
	 * 读取流中的数据转换为byte数组
	 * @param in
	 * @return
	 * @throws Exception
	 */
	public static byte[] getBytes(InputStream in) throws Exception{
		...]]></description><category></category></item><item><title><![CDATA[分布式 名词]]></title><link>https://blog.youkuaiyun.com/feng413/article/details/83262602</link><guid>https://blog.youkuaiyun.com/feng413/article/details/83262602</guid><author>feng413</author><pubDate>Wed, 30 Jul 2008 09:34:54 +0800</pubDate><description><![CDATA[Hadoop 海量文件的分布式计算 处理方案]]></description><category></category></item><item><title><![CDATA[RMI在双网卡环境下的配置]]></title><link>https://blog.youkuaiyun.com/feng413/article/details/83256915</link><guid>https://blog.youkuaiyun.com/feng413/article/details/83256915</guid><author>feng413</author><pubDate>Wed, 02 Jul 2008 16:25:51 +0800</pubDate><description><![CDATA[问题：rmi在双网卡（一个公网，一个私网）环境下，默认的endpoint采用私网的地址，而部署时如果把服务的地址暴露在公网ip下，那么在远程调用时就会出现私网地址connection refused的异常
解决方案：在rmi服务器启动[color=red]最开始[/color]（即还没有将服务绑定）的时候加上如下语句，即可解决：
[code=&quot;java&quot;]System.setProperty(...]]></description><category></category></item></channel></rss>