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

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

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

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

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

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

老妖 2005-12-21 22:35 發(fā)表評論
]]>
關(guān)于 sitemesh 在weblogic spring下的亂碼問題解決http://www.aygfsteel.com/rocky/archive/2005/12/18/24467.html老妖老妖Sun, 18 Dec 2005 04:39:00 GMThttp://www.aygfsteel.com/rocky/archive/2005/12/18/24467.htmlhttp://www.aygfsteel.com/rocky/comments/24467.htmlhttp://www.aygfsteel.com/rocky/archive/2005/12/18/24467.html#Feedback0http://www.aygfsteel.com/rocky/comments/commentRss/24467.htmlhttp://www.aygfsteel.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>
作業(yè)環(huán)境:
weblogic sp 5
spring 1.2.6
sitemesh 2.2.1
發(fā)現(xiàn)有中文亂碼問題。

在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 發(fā)表評論
]]>
上傳一份我整理的ant資料http://www.aygfsteel.com/rocky/archive/2005/12/16/24255.html老妖老妖Fri, 16 Dec 2005 09:26:00 GMThttp://www.aygfsteel.com/rocky/archive/2005/12/16/24255.htmlhttp://www.aygfsteel.com/rocky/comments/24255.htmlhttp://www.aygfsteel.com/rocky/archive/2005/12/16/24255.html#Feedback3http://www.aygfsteel.com/rocky/comments/commentRss/24255.htmlhttp://www.aygfsteel.com/rocky/services/trackbacks/24255.htmlhttp://www.aygfsteel.com/Files/rocky/ant資料.rar

老妖 2005-12-16 17:26 發(fā)表評論
]]>
主站蜘蛛池模板: 交城县| 惠安县| 孝昌县| 衡山县| 信宜市| 天镇县| 望奎县| 集安市| 开阳县| 景谷| 六枝特区| 佛山市| 嘉鱼县| 房产| 社会| 澳门| 云南省| 朔州市| 景泰县| 偏关县| 密山市| 龙井市| 成安县| 西安市| 田东县| 长岛县| 普兰店市| 扎囊县| 静安区| 八宿县| 朝阳县| 察隅县| 太仆寺旗| 玛沁县| 奈曼旗| 黄梅县| 清远市| 来宾市| 沐川县| 晋州市| 招远市|