91在线免费看,欧美www.,欧美 日韩 国产在线http://www.aygfsteel.com/rocky/category/4489.html現(xiàn)實(shí)的中沒(méi)有幾個(gè)人能夠真為對(duì)方去死,甚至山盟海誓很快就會(huì)在金錢面前變的微不足道,這才是生活。沒(méi)有永遠(yuǎn)的愛(ài),除了你的父母對(duì)你,當(dāng)然也就沒(méi)有永遠(yuǎn)的恨,更沒(méi)有永遠(yuǎn)的痛,時(shí)間是最好的治療大師,它會(huì)很快撫平你心靈上累累的傷痕。很多年以后你想起來(lái)時(shí),那些在你生命中洶涌來(lái)往的人群至多是個(gè)模糊的影子或者毫無(wú)意義的名字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ā)表評(píng)論
]]>
一個(gè)不錯(cuò)的界面原型制作工具(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ā)表評(píng)論
]]>
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ā)表評(píng)論
]]>
關(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ā)表評(píng)論
]]>
項(xiàng)目經(jīng)驗(yàn)(二)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ā)表評(píng)論
]]>
利用htmlparser抓取網(wǎng)頁(yè)內(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ā)表評(píng)論
]]>
關(guān)于 sitemesh 在weblogic spring下的亂碼問(wèn)題解決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的頁(yè)面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> 
被裝飾器頁(yè)面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)有中文亂碼問(wèn)題。

在google上查找很久都沒(méi)有方法解決,后懷疑是處理編碼的org.springframework.web.filter.CharacterEncodingFilter中的代碼中只對(duì)request做了編碼處理而沒(méi)有對(duì)response做編碼處理
自己對(duì)其做了一點(diǎn)小的修改紅色字部分
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);
    }
解決亂碼問(wèn)題

老妖 2005-12-18 12:39 發(fā)表評(píng)論
]]>
上傳一份我整理的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ā)表評(píng)論
]]>
主站蜘蛛池模板: 和静县| 桦甸市| 乐业县| 阳信县| 前郭尔| 宁乡县| 中西区| 额尔古纳市| 岫岩| 页游| 平顺县| 延安市| 湘阴县| 当涂县| 凉城县| 左贡县| 郎溪县| 鄂托克旗| 昭通市| 梁山县| 太原市| 马山县| 满洲里市| 南充市| 青龙| 富阳市| 德昌县| 柏乡县| 满洲里市| 青神县| 九龙坡区| 朝阳区| 治多县| 吴桥县| 屏东市| 大宁县| 探索| 宁安市| 吴江市| 凌海市| 南投县|