亚洲人色婷婷成人网站在线观看,亚洲国产精品成人AV无码久久综合影院,久久夜色精品国产嚕嚕亚洲avhttp://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 發表評論
]]>
主站蜘蛛池模板: 亚洲精品国产精品乱码不卡√ | 亚洲Aⅴ无码专区在线观看q| 成人亚洲国产精品久久| 无码国产精品一区二区免费 | 无人在线直播免费观看| 亚洲综合免费视频| 在线观看成人免费视频不卡| 亚洲精品亚洲人成在线麻豆| 131美女爱做免费毛片| 亚洲国产日韩女人aaaaaa毛片在线| 免费国产黄网站在线观看可以下载| 久久久久亚洲精品天堂| 亚洲毛片在线免费观看| 亚洲国产精品午夜电影| 好吊妞视频免费视频| 亚洲国产成人久久一区二区三区| 日本免费一区二区三区最新| 美国毛片亚洲社区在线观看 | 亚洲免费一级视频| 欧洲乱码伦视频免费| 亚洲精品国产suv一区88| 亚洲av无码天堂一区二区三区| 成人久久久观看免费毛片| 亚洲日韩av无码| 全部免费毛片在线播放| 亚洲一区二区三区在线观看蜜桃| 国产精品成人无码免费| 久久国产福利免费| 亚洲天堂一区在线| 四虎永久免费观看| 人妻在线日韩免费视频| 亚洲制服在线观看| 四虎影视在线永久免费看黄| 3344在线看片免费| 一本色道久久综合亚洲精品蜜桃冫| 亚洲av成人一区二区三区在线观看 | 国产99视频精品免费专区| 国产成人精品日本亚洲专一区| 亚洲第一视频在线观看免费| 99爱在线精品视频免费观看9| 亚洲中文精品久久久久久不卡|