久久国产亚洲精品麻豆,亚洲高清毛片一区二区,亚洲精品乱码久久久久久蜜桃http://m.tkk7.com/rocky/category/4489.html現實的中沒有幾個人能夠真為對方去死,甚至山盟海誓很快就會在金錢面前變的微不足道,這才是生活。沒有永遠的愛,除了你的父母對你,當然也就沒有永遠的恨,更沒有永遠的痛,時間是最好的治療大師,它會很快撫平你心靈上累累的傷痕。很多年以后你想起來時,那些在你生命中洶涌來往的人群至多是個模糊的影子或者毫無意義的名字zh-cnWed, 07 Aug 2013 17:12:07 GMTWed, 07 Aug 2013 17:12:07 GMT60HTML Parser 替代品 jsouphttp://m.tkk7.com/rocky/archive/2013/08/07/jsoup.html老妖老妖Wed, 07 Aug 2013 05:25:00 GMThttp://m.tkk7.com/rocky/archive/2013/08/07/jsoup.htmlhttp://m.tkk7.com/rocky/comments/402503.htmlhttp://m.tkk7.com/rocky/archive/2013/08/07/jsoup.html#Feedback1http://m.tkk7.com/rocky/comments/commentRss/402503.htmlhttp://m.tkk7.com/rocky/services/trackbacks/402503.html閱讀全文

老妖 2013-08-07 13:25 發表評論
]]>
一個不錯的界面原型制作工具(Balsamiq Mockups)http://m.tkk7.com/rocky/archive/2009/09/16/Balsamiq_Mockups.html老妖老妖Wed, 16 Sep 2009 02:44:00 GMThttp://m.tkk7.com/rocky/archive/2009/09/16/Balsamiq_Mockups.htmlhttp://m.tkk7.com/rocky/comments/295264.htmlhttp://m.tkk7.com/rocky/archive/2009/09/16/Balsamiq_Mockups.html#Feedback7http://m.tkk7.com/rocky/comments/commentRss/295264.htmlhttp://m.tkk7.com/rocky/services/trackbacks/295264.html閱讀全文

老妖 2009-09-16 10:44 發表評論
]]>
Xfire。http://m.tkk7.com/rocky/archive/2008/01/18/xfire.html老妖老妖Fri, 18 Jan 2008 07:59:00 GMThttp://m.tkk7.com/rocky/archive/2008/01/18/xfire.htmlhttp://m.tkk7.com/rocky/comments/176257.htmlhttp://m.tkk7.com/rocky/archive/2008/01/18/xfire.html#Feedback1http://m.tkk7.com/rocky/comments/commentRss/176257.htmlhttp://m.tkk7.com/rocky/services/trackbacks/176257.html閱讀全文

老妖 2008-01-18 15:59 發表評論
]]>
關于dlee介紹的Ajax dhtmlXTree的指南翻譯草稿以及文件http://m.tkk7.com/rocky/archive/2006/03/17/35753.html老妖老妖Thu, 16 Mar 2006 16:43:00 GMThttp://m.tkk7.com/rocky/archive/2006/03/17/35753.htmlhttp://m.tkk7.com/rocky/comments/35753.htmlhttp://m.tkk7.com/rocky/archive/2006/03/17/35753.html#Feedback8http://m.tkk7.com/rocky/comments/commentRss/35753.htmlhttp://m.tkk7.com/rocky/services/trackbacks/35753.html閱讀全文

老妖 2006-03-17 00:43 發表評論
]]>
項目經驗(二)http://m.tkk7.com/rocky/archive/2005/12/22/25060.html老妖老妖Thu, 22 Dec 2005 05:28:00 GMThttp://m.tkk7.com/rocky/archive/2005/12/22/25060.htmlhttp://m.tkk7.com/rocky/comments/25060.htmlhttp://m.tkk7.com/rocky/archive/2005/12/22/25060.html#Feedback2http://m.tkk7.com/rocky/comments/commentRss/25060.htmlhttp://m.tkk7.com/rocky/services/trackbacks/25060.html閱讀全文

老妖 2005-12-22 13:28 發表評論
]]>
利用htmlparser抓取網頁內容(一)http://m.tkk7.com/rocky/archive/2005/12/21/24997.html老妖老妖Wed, 21 Dec 2005 14:35:00 GMThttp://m.tkk7.com/rocky/archive/2005/12/21/24997.htmlhttp://m.tkk7.com/rocky/comments/24997.htmlhttp://m.tkk7.com/rocky/archive/2005/12/21/24997.html#Feedback30http://m.tkk7.com/rocky/comments/commentRss/24997.htmlhttp://m.tkk7.com/rocky/services/trackbacks/24997.html閱讀全文

老妖 2005-12-21 22:35 發表評論
]]>
關于 sitemesh 在weblogic spring下的亂碼問題解決http://m.tkk7.com/rocky/archive/2005/12/18/24467.html老妖老妖Sun, 18 Dec 2005 04:39:00 GMThttp://m.tkk7.com/rocky/archive/2005/12/18/24467.htmlhttp://m.tkk7.com/rocky/comments/24467.htmlhttp://m.tkk7.com/rocky/archive/2005/12/18/24467.html#Feedback0http://m.tkk7.com/rocky/comments/commentRss/24467.htmlhttp://m.tkk7.com/rocky/services/trackbacks/24467.html<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" " http://java.sun.com/dtd/web-app_2_3.dtd ">
 
<web-app>
 
    
<filter>
        
<filter-name>sitemesh</filter-name>
        
<filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class> 
    
</filter>
 
    
<filter-mapping>
        
<filter-name>sitemesh</filter-name>
        
<url-pattern>/*</url-pattern>
    
</filter-mapping>
 
<filter> 
  
<filter-name>encodingFilter</filter-name>
  
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
  
<init-param>
   
<param-name>encoding</param-name> 
   
<param-value>UTF-8</param-value>
  
</init-param>
  
<init-param>
   
<param-name>forceEncoding</param-name>
   
<param-value>true</param-value>
  
</init-param> 
 
</filter>
  
<filter-mapping>
  
<filter-name>encodingFilter</filter-name>
  
<url-pattern>*.jsp</url-pattern>
 
</filter-mapping>
</web-app>
sitemesh.xml:
<?xml version="1.0" encoding="utf-8"?>
<sitemesh>
    
<property name="decorators-file" value="/WEB-INF/decorators.xml"/> 
    
<excludes file="${decorators-file}"/> 
    
<page-parsers>
        
<parser default="true" class="com.opensymphony.module.sitemesh.parser.HTMLPageParser"/>
        
<parser content-type="text/html" class=" com.opensymphony.module.sitemesh.parser.HTMLPageParser"/>
        
<parser content-type="text/html;charset=UTF-8" class="com.opensymphony.module.sitemesh.parser.HTMLPageParser"/>
    
</page-parsers> 
 
    
<decorator-mappers>
        
<mapper class="com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper">
            
<param name="config" value="${decorators-file}"/> 
        
</mapper>
    
</decorator-mappers>
</sitemesh>
decorators.xml:
<?xml version="1.0" encoding="utf-8"?>
 
<decorators defaultdir="/decorators">
    
<decorator name="main" page="test.jsp">
        
<pattern>/*</pattern>
    
</decorator>
 
    
<decorator name="panel" page="panel.jsp"/>
    
<decorator name="printable" page="printable.jsp"/>
</decorators> 
decorator的頁面test.jsp:
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri=" http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<%@ taglib uri=" http://www.opensymphony.com/sitemesh/page" prefix="page" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml ">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><decorator:title default="Mysterious page" /></title> 
<decorator:head />
</head>
 
<body>
<table width="100%" height="100%" border="0">
  
<tr>
    
<td width="29%"></td>
    
<td width="71%">&nbsp;哈哈 哈哈 
     
</td>
  
</tr>
  
<tr>
    
<td><decorator:body /></td>
    
<td>&nbsp;</td>
  
</tr>
</table>
</body>
</html> 
被裝飾器頁面1.jsp:
<%@ page contentType="text/html;charset=utf-8"%>
<html>
    
<head>
    
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">  
    
<title>哈哈</title>
    
</head>        
    
<body>
        
<h2>哈哈</h2>
    
</body>
</html>
作業環境:
weblogic sp 5
spring 1.2.6
sitemesh 2.2.1
發現有中文亂碼問題。

在google上查找很久都沒有方法解決,后懷疑是處理編碼的org.springframework.web.filter.CharacterEncodingFilter中的代碼中只對request做了編碼處理而沒有對response做編碼處理
自己對其做了一點小的修改紅色字部分
protected void doFilterInternal(
            HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
            
throws ServletException, IOException {
        
super.doFilter(request,response,filterChain);
        
        
if (this.forceEncoding || request.getCharacterEncoding() == null) {
            request.setCharacterEncoding(
this.encoding);
            response.setContentType(
"text/html; charset="+this.encoding);
        }
        filterChain.doFilter(request, response);
    }
解決亂碼問題

老妖 2005-12-18 12:39 發表評論
]]>
上傳一份我整理的ant資料http://m.tkk7.com/rocky/archive/2005/12/16/24255.html老妖老妖Fri, 16 Dec 2005 09:26:00 GMThttp://m.tkk7.com/rocky/archive/2005/12/16/24255.htmlhttp://m.tkk7.com/rocky/comments/24255.htmlhttp://m.tkk7.com/rocky/archive/2005/12/16/24255.html#Feedback3http://m.tkk7.com/rocky/comments/commentRss/24255.htmlhttp://m.tkk7.com/rocky/services/trackbacks/24255.htmlhttp://m.tkk7.com/Files/rocky/ant資料.rar

老妖 2005-12-16 17:26 發表評論
]]>
主站蜘蛛池模板: 免费一级毛片在线播放视频免费观看永久 | 久久精品网站免费观看| 国产啪亚洲国产精品无码 | 国产精品无码素人福利免费| 亚洲一区二区三区高清不卡| 114一级毛片免费| 亚洲国产成人精品无码区在线秒播| 桃子视频在线观看高清免费视频| 亚洲av综合av一区| 中文字幕视频免费| 亚洲va在线va天堂成人| 亚洲人成网站免费播放| 亚洲大尺度无码无码专线一区| 麻豆精品国产免费观看| 男人j进女人p免费视频| 国产啪亚洲国产精品无码| 日本卡1卡2卡三卡免费| 亚洲网站在线免费观看| 最近中文字幕mv手机免费高清| 国产成人亚洲综合a∨| 国产亚洲精品成人AA片新蒲金| 久久国产免费一区| 亚洲精品人成网在线播放影院| 国产成人无码免费视频97| 中国一级特黄的片子免费 | 三级黄色在线免费观看| 久久久无码精品亚洲日韩按摩 | 亚洲欧洲中文日韩久久AV乱码| a国产成人免费视频| 亚洲中文字幕人成乱码| 国产免费久久精品久久久| 99久久精品毛片免费播放| 亚洲伊人久久大香线蕉| 免费人成视频x8x8入口| 日韩精品无码免费一区二区三区| 亚洲色成人WWW永久在线观看| 亚洲一区二区三区影院| 久九九精品免费视频| 一级做a爰全过程免费视频毛片| 亚洲天堂在线播放| 波多野结衣视频在线免费观看|