锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲成aⅴ人片在线观,亚洲成a人片在线播放,久久久久久A亚洲欧洲AV冫http://m.tkk7.com/alex/archive/2007/09/01/141902.htmlAlexAlexSat, 01 Sep 2007 04:42:00 GMThttp://m.tkk7.com/alex/archive/2007/09/01/141902.htmlhttp://m.tkk7.com/alex/comments/141902.htmlhttp://m.tkk7.com/alex/archive/2007/09/01/141902.html#Feedback0http://m.tkk7.com/alex/comments/commentRss/141902.htmlhttp://m.tkk7.com/alex/services/trackbacks/141902.html闃呰鍏ㄦ枃

Alex 2007-09-01 12:42 鍙戣〃璇勮
]]>
WEB寮鍙戞祦紼?姝ラ)http://m.tkk7.com/alex/archive/2007/06/13/123899.htmlAlexAlexWed, 13 Jun 2007 08:43:00 GMThttp://m.tkk7.com/alex/archive/2007/06/13/123899.htmlhttp://m.tkk7.com/alex/comments/123899.htmlhttp://m.tkk7.com/alex/archive/2007/06/13/123899.html#Feedback4http://m.tkk7.com/alex/comments/commentRss/123899.htmlhttp://m.tkk7.com/alex/services/trackbacks/123899.html闃呰鍏ㄦ枃

Alex 2007-06-13 16:43 鍙戣〃璇勮
]]>
[zt]Response.ContentType 璇︾粏鍒楄〃http://m.tkk7.com/alex/archive/2007/03/29/107125.htmlAlexAlexThu, 29 Mar 2007 01:25:00 GMThttp://m.tkk7.com/alex/archive/2007/03/29/107125.htmlhttp://m.tkk7.com/alex/comments/107125.htmlhttp://m.tkk7.com/alex/archive/2007/03/29/107125.html#Feedback0http://m.tkk7.com/alex/comments/commentRss/107125.htmlhttp://m.tkk7.com/alex/services/trackbacks/107125.html
come from here


鍦ㄧ粡鍏稿悓鏃剁湅鍒頒袱涓叧浜嶤ontentType鐨勯棶棰?/p>

http://bbs.blueidea.com/thread-2729935-1-1.html

http://bbs.blueidea.com/thread-2729945-1-1.html

鎵浠ユ煡浜嗕笅璧勬枡,copy浜嗕竴浠借緇嗙殑ContentType鐨勫垪琛?/p>

涓嶅悓鐨凜ontentType 浼氬獎鍝嶅鎴風鎵鐪嬪埌鐨勬晥鏋?

榛樿鐨凜ontentType涓?text/html聽 涔熷氨鏄綉欏墊牸寮?

浠g爜濡?

<% response.ContentType ="text/html" %>聽
<!--錛僫 nclude virtual="/ContentType.html" -->

鏄劇ず鐨勪負緗戦〉,鑰?/p>

<% response.ContentType ="text/plain" %>聽
<!--錛僫 nclude virtual="/sscript/

鍒欎細鏄劇ずhtml鍘熶唬鐮?

浠ヤ笅涓轟竴浜涘父鐢ㄧ殑 ContentType

GIF images
<% response.ContentType ="image/gif" %>聽
<!--錛僫 nclude virtual="/myimage.gif" -->
JPEG images
<% response.ContentType ="image/jpeg" %>聽
<!--錛僫 nclude virtual="/myimage.jpeg" -->
TIFF images
<% response.ContentType ="image/tiff" %>聽
<!--錛僫 nclude virtual="/myimage.tiff" -->
MICROSOFT WORD document
<% response.ContentType ="application/msword" %>聽
<!--錛僫 nclude virtual="/myfile.doc" -->
RTF document
<% response.ContentType ="application/rtf" %>聽
<!--錛僫 nclude virtual="/myfile.rtf" -->
MICROSOFT EXCEL document
<% response.ContentType ="application/x-excel" %>聽
<!--錛僫 nclude virtual="/myfile.xls" -->
MICROSOFT POWERPOINT document
<% response.ContentType ="application/ms-powerpoint" %>聽
<!--錛僫 nclude virtual="/myfile.pff" -->
PDF document
<% response.ContentType ="application/pdf" %>聽
<!--錛僫 nclude virtual="/myfile.pdf" -->
ZIP document
<% response.ContentType ="application/zip" %>聽
<!--錛僫 nclude virtual="/myfile.zip" -->

涓嬮潰鏄洿璇︾粏鐨凜ontentType

application/andrew-insetez
application/mac-binhex40hqx
application/mac-compactprocpt
application/mathml+xmlmathml
application/msworddoc
application/octet-streambin dms lha lzh exe class so dll
application/odaoda
application/oggogg
application/pdfpdf
application/postscriptai eps ps
application/rdf+xmlrdf
application/smilsmi smil
application/srgsgram
application/srgs+xmlgrxml
application/vnd.mifmif
application/vnd.mozilla.xul+xmlxul
application/vnd.ms-excelxls
application/vnd.ms-powerpointppt
application/vnd.wap.wbxmlwbxml
application/vnd.wap.wmlc.wmlc wmlc
application/vnd.wap.wmlscriptc.wmlsc wmlsc
application/voicexml+xmlvxml
application/x-bcpiobcpio
application/x-cdlinkvcd
application/x-chess-pgnpgn
application/x-cpiocpio
application/x-cshcsh
application/x-directordcr dir dxr
application/x-dvidvi
application/x-futuresplashspl
application/x-gtargtar
application/x-hdfhdf
application/x-httpd-php.php .php4 .php3 .phtml
application/x-httpd-php-source.phps
application/x-javascriptjs
application/x-koanskp skd skt skm
application/x-latexlatex
application/x-netcdfnc cdf
application/x-pkcs7-crl.crl
application/x-shsh
application/x-sharshar
application/x-shockwave-flashswf
application/x-stuffitsit
application/x-sv4cpiosv4cpio
application/x-sv4crcsv4crc
application/x-tar.tgz tar
application/x-tcltcl
application/x-textex
application/x-texinfotexinfo texi
application/x-trofft tr roff
application/x-troff-manman
application/x-troff-meme
application/x-troff-msms
application/x-ustarustar
application/x-wais-sourcesrc
application/x-x509-ca-cert.crt
application/xhtml+xmlxhtml xht
application/xmlxml xsl
application/xml-dtddtd
application/xslt+xmlxslt
application/zipzip
audio/basicau snd
audio/midimid midi kar
audio/mpegmpga mp2 mp3
audio/x-aiffaif aiff aifc
audio/x-mpegurlm3u
audio/x-pn-realaudioram rm
audio/x-pn-realaudio-pluginrpm
audio/x-realaudiora
audio/x-wavwav
chemical/x-pdbpdb
chemical/x-xyzxyz
image/bmpbmp
image/cgmcgm
image/gifgif
image/iefief
image/jpegjpeg jpg jpe
image/pngpng
image/svg+xmlsvg
image/tifftiff tif
image/vnd.djvudjvu djv
image/vnd.wap.wbmp.wbmp wbmp
image/x-cmu-rasterras
image/x-iconico
image/x-portable-anymappnm
image/x-portable-bitmappbm
image/x-portable-graymappgm
image/x-portable-pixmapppm
image/x-rgbrgb
image/x-xbitmapxbm
image/x-xpixmapxpm
image/x-xwindowdumpxwd
model/igesigs iges
model/meshmsh mesh silo
model/vrmlwrl vrml
text/calendarics ifb
text/csscss
text/html.shtml html htm
text/plainasc txt
text/richtextrtx
text/rtfrtf
text/sgmlsgml sgm
text/tab-separated-valuestsv
text/vnd.wap.wml.wml wml
text/vnd.wap.wmlscript.wmls wmls
text/x-setextetx
video/mpegmpeg mpg mpe
video/quicktimeqt mov
video/vnd.mpegurlmxu
video/x-msvideoavi
video/x-sgi-moviemovie
x-conference/x-cooltalkice


Alex 2007-03-29 09:25 鍙戣〃璇勮
]]>
[zt]鐢↗SP瀹炵幇涓婁紶鏂囦歡鐨勪袱縐嶆柟娉?/title><link>http://m.tkk7.com/alex/archive/2007/03/26/106538.html</link><dc:creator>Alex</dc:creator><author>Alex</author><pubDate>Mon, 26 Mar 2007 14:18:00 GMT</pubDate><guid>http://m.tkk7.com/alex/archive/2007/03/26/106538.html</guid><wfw:comment>http://m.tkk7.com/alex/comments/106538.html</wfw:comment><comments>http://m.tkk7.com/alex/archive/2007/03/26/106538.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://m.tkk7.com/alex/comments/commentRss/106538.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/alex/services/trackbacks/106538.html</trackback:ping><description><![CDATA[     鎽樿:   <a href='http://m.tkk7.com/alex/archive/2007/03/26/106538.html'>闃呰鍏ㄦ枃</a><img src ="http://m.tkk7.com/alex/aggbug/106538.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/alex/" target="_blank">Alex</a> 2007-03-26 22:18 <a href="http://m.tkk7.com/alex/archive/2007/03/26/106538.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>jsp闃茬洍閾?/title><link>http://m.tkk7.com/alex/archive/2007/03/13/103458.html</link><dc:creator>Alex</dc:creator><author>Alex</author><pubDate>Tue, 13 Mar 2007 02:01:00 GMT</pubDate><guid>http://m.tkk7.com/alex/archive/2007/03/13/103458.html</guid><wfw:comment>http://m.tkk7.com/alex/comments/103458.html</wfw:comment><comments>http://m.tkk7.com/alex/archive/2007/03/13/103458.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://m.tkk7.com/alex/comments/commentRss/103458.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/alex/services/trackbacks/103458.html</trackback:ping><description><![CDATA[key words : jsp闃茬洍閾?header<br /><br />鏈榪戠鍒扮洍閾劇殑闂錛屽嵆澶嶅埗涓涓猽rl鍦板潃錛屽湪鍙︿竴涓湴鏂逛篃鑳借闂?br /><br />index.jsp欏甸潰<br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">html</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">head</span><span style="COLOR: #0000ff">><</span><span style="COLOR: #800000">title</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">Simple聽jsp聽page</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">title</span><span style="COLOR: #0000ff">></</span><span style="COLOR: #800000">head</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">body</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">Place聽your聽content聽here<br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽here聽is聽index聽jsp<br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽get聽header聽info<br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">a聽</span><span style="COLOR: #ff0000">href</span><span style="COLOR: #0000ff">="a.jsp"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">a.jsp</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">a</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">body</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">html</span><span style="COLOR: #0000ff">></span></div><br />a.jsp欏甸潰<br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">html</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">head</span><span style="COLOR: #0000ff">><</span><span style="COLOR: #800000">title</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">Simple聽jsp聽page</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">title</span><span style="COLOR: #0000ff">></</span><span style="COLOR: #800000">head</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">body</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">Place聽your聽content聽here<br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽here聽is聽a.聽jsp<br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽get聽header聽info<br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽</span><span style="COLOR: #000000; BACKGROUND-COLOR: #ffff00"><%</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">request.getHeader(</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">Referer</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)</span><span style="COLOR: #000000; BACKGROUND-COLOR: #ffff00">%></span><span style="COLOR: #000000"><br /><img id="Codehighlighter1_163_265_Open_Image" onclick="this.style.display='none'; Codehighlighter1_163_265_Open_Text.style.display='none'; Codehighlighter1_163_265_Closed_Image.style.display='inline'; Codehighlighter1_163_265_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_163_265_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_163_265_Closed_Text.style.display='none'; Codehighlighter1_163_265_Open_Image.style.display='inline'; Codehighlighter1_163_265_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />聽聽</span><span style="COLOR: #000000; BACKGROUND-COLOR: #ffff00"><%</span><span id="Codehighlighter1_163_265_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://m.tkk7.com/images/dot.gif" /></span><span id="Codehighlighter1_163_265_Open_Text"><span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(</span><span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">null</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">==</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽request.getHeader(</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">Referer</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)聽||聽request.getHeader(</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">Referer</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).indexOf(</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">yourdomain.com</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)聽</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">){</span></span><span style="COLOR: #000000; BACKGROUND-COLOR: #ffff00">%></span><span style="COLOR: #000000"><br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽鍋氫漢瑕佸帤閬?br /><img id="Codehighlighter1_283_288_Open_Image" onclick="this.style.display='none'; Codehighlighter1_283_288_Open_Text.style.display='none'; Codehighlighter1_283_288_Closed_Image.style.display='inline'; Codehighlighter1_283_288_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_283_288_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_283_288_Closed_Text.style.display='none'; Codehighlighter1_283_288_Open_Image.style.display='inline'; Codehighlighter1_283_288_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />聽聽</span><span style="COLOR: #000000; BACKGROUND-COLOR: #ffff00"><%</span><span id="Codehighlighter1_283_288_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://m.tkk7.com/images/dot.gif" /></span><span id="Codehighlighter1_283_288_Open_Text"><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">}</span><span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">else</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{</span></span><span style="COLOR: #000000; BACKGROUND-COLOR: #ffff00">%></span><span style="COLOR: #000000"><br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽鍚堟硶璁塊棶<br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽</span><span style="COLOR: #000000; BACKGROUND-COLOR: #ffff00"><%</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">}</span><span style="COLOR: #000000; BACKGROUND-COLOR: #ffff00">%></span><span style="COLOR: #000000"><br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">body</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br /><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">html</span><span style="COLOR: #0000ff">></span></div><br /><br />鍗充粠鍐呴儴璁塊棶鍙互錛岀洿鎺ョ矘璐村湴鍧鍦ㄥ彟涓涓祻瑙堝櫒閲岃闂姝?img src ="http://m.tkk7.com/alex/aggbug/103458.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/alex/" target="_blank">Alex</a> 2007-03-13 10:01 <a href="http://m.tkk7.com/alex/archive/2007/03/13/103458.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[璁ㄨ]涓婁紶鏂囦歡鏀懼湪鍝噷姣旇緝鍚堥?http://m.tkk7.com/alex/archive/2007/01/31/96831.htmlAlexAlexWed, 31 Jan 2007 01:06:00 GMThttp://m.tkk7.com/alex/archive/2007/01/31/96831.htmlhttp://m.tkk7.com/alex/comments/96831.htmlhttp://m.tkk7.com/alex/archive/2007/01/31/96831.html#Feedback4http://m.tkk7.com/alex/comments/commentRss/96831.htmlhttp://m.tkk7.com/alex/services/trackbacks/96831.html
鐩噷闈㈡湁涓婁紶鏂囦歡鐨勯渶姹?鎴戞兂浜嗕竴涓嬩笉澶栦箮涓嬮潰涓ょ澶勭悊鏂規硶:

1. 鍦ㄦ暟鎹簱琛ㄤ腑寤虹珛涓涓猙lob瀛楁瀛樻斁鐢ㄦ埛涓婁紶鏂囦歡.
2. 鍦ㄦ湇鍔″櫒涓婂緩绔嬩竴涓枃浠跺す淇濆瓨鐢ㄦ埛涓婁紶鏂囦歡,鏁版嵁搴撹〃涓彧瀛樻斁璇ユ枃浠剁殑url鍦板潃.

鎴戞湰浜虹幇鍦ㄦ瘮杈冨懼悜浜庣2縐嶆柟妗? 涓昏鍘熷洜鏄媴蹇冩柟妗?鐨勬晥鐜囷紙鎴戠敤鐨勬槸mysql鏁版嵁搴擄級銆?浣嗘槸澶勭悊榪囩▼涓櫎浜嗙淮鎶ゆ暟鎹簱涓〃鐨勫瓧孌佃繕瑕佺淮鎶や笂浼犵殑鏂囦歡,紼嶅井楹葷儲涓鐐廣?/wbr>

澶у鍦ㄩ」鐩噷闈㈠張鏄庝箞鍋氬憿錛?緇欐垜鐐瑰緩璁紒璋㈣阿


璁ㄨ鍐呭瑙? javaeye

robin鏇村緩璁浜岀鏂規錛屾斁鍦ㄦ暟鎹簱涓富瑕佺殑闂鏄?AppServer鍚冧笉娑堬紝寮閿姣旇緝澶?

涓婇潰鏄憳褰曪紝涓嶈繃鎴戜滑榪欓噷鐢ㄧ殑鏄疧racle9i AS,鍦∣racle鐨勫崗浣滃闂撮噷涓鑸枃妗f垨鑰呬笂浼犵殑鏂囦歡閮芥槸淇濆瓨鍦ㄦ暟鎹簱閲岋紝榪樻妸榪欎釜鐗規т綔涓篛racle 涓庡埆鐨勫崗浣滃浠朵箣闂翠笉鍚岀殑鍗栫偣銆?br>
澶у浠ヤ負濡備綍? 鎴戠洿瑙夋槸Oracle鐨凞B鍜宱c4j鐨凙ppServer瀵逛粯榪欎釜浼間箮娌℃湁寮閿涓婄殑鎷呭績錛屼絾鏄病鏈夊疄闄呮嫻嬭繃銆?

鎹㈠彞璇濊錛屾枃浠剁殑綆$悊鏄斁鍦ㄦ枃浠跺す閲屾柟渚胯繕鏄暟鎹簱閲屾柟渚? 鏈夌偣涓洪毦

update (2007-5-13):
榪樻湁涓縐嶆柟妗堢粨鍚堜簡鏁版嵁搴撳拰IO錛屾垜璁や負姣旇緝鍙錛屽氨鏄枃浠跺瓨鍦ㄦ暟鎹簱錛屼絾鏄笅杞界殑鏃跺欑涓嬈′粠鏁版嵁搴撲笅杞斤紝鐒跺悗絎竴嬈¤繖涓枃浠朵繚瀛樺湪涓涓復鏃舵枃浠跺す涓嬮潰錛屼互鍚庢瘡嬈′笅杞界殑鏃跺欐繪槸鍏堟鏌ユ涓存椂鏂囦歡澶癸紝濡傛灉宸茬粡瀛樺湪鍒欑洿鎺ヤ笅杞斤紝濡傛灉娌℃湁鍒欎粠鏁版嵁搴撻噸澶嶈繖涓姩浣溿傚綋鐒訛紝淇濆瓨鍦ㄤ復鏃舵枃浠跺す涓嬬殑鏂囦歡鐨勫懡鍚嶉渶瑕佸敮涓錛岃繖涓簲璇ユ病鏈夐棶棰樸?/span>

Alex 2007-01-31 09:06 鍙戣〃璇勮
]]>
web蹇熷紑鍙戠浉鍏蟲妧鏈拰浜у搧http://m.tkk7.com/alex/archive/2007/01/20/95088.htmlAlexAlexSat, 20 Jan 2007 14:56:00 GMThttp://m.tkk7.com/alex/archive/2007/01/20/95088.htmlhttp://m.tkk7.com/alex/comments/95088.htmlhttp://m.tkk7.com/alex/archive/2007/01/20/95088.html#Feedback2http://m.tkk7.com/alex/comments/commentRss/95088.htmlhttp://m.tkk7.com/alex/services/trackbacks/95088.html
web蹇熷紑鍙戞槸涓涓煎緱鏈熷緟鐨勪笢瑗匡紝鏈鏃╂垜鎺ヨЕ榪?span style="FONT-WEIGHT: bold">codecharge,鏄竴涓晢涓氳蔣浠訛紝鍔熻兘鎹寰堝己澶э紝鎴戣瘯鐢ㄨ繃錛屾敮鎸乸hp,asp,jsp絳夊璇█錛屼絾鏄劅瑙夊java鐨勬敮鎸佷笉鏄緢欏烘墜錛屾帴鐫灝辨槸asp,榪欎釜濂戒篃涓嶅ソ錛屽師鍥犲氨涓嶈浜嗭紝鍥犱負鎴戝java鍏蟲敞銆?br />
2. 鎺ョ潃灝辨槸dorado ,鍒氱湅鍒扮殑錛屾劅瑙変篃涓嶉敊,鏈塧sp鐨勯鏍鹼紝涓嶈繃鏇撮傚悎j2ee鐨勭幆澧?,榪欓噷鏄粬浠殑鍦ㄧ嚎婕旂ずdemo,鏈夊叴瓚g殑鍙互鐪嬩竴涓?br />
3. 鏈鍚庯紝鍒歡oogle浜嗕竴涓嬶紝Oracle涔熸湁涓涓熀浜嶰racle鏁版嵁搴撶殑蹇熷紑鍙戜駭鍝伮?: APEX,鍩轟簬嫻忚鍣ㄥ仛DB 寮鍙?鍘熸潵鐨勫悕瀛楀彨鍋欻TML DB,鍚嶅瓧寰堢洿瑙傦紝鎹Oracle鐨刴etalink灝辨槸鐢ㄨ繖涓疄鐜扮殑錛屽簲璇ュ姛鑳戒笉璧栥?br />
4.瀵逛簡錛屽啀琛ュ厖涓涓幇鍦ㄥ緢鐑殑錛孯or,鍚javaeye鐨勭綉绔欒閲嶆柊鐢╮uby1.2寮鍙戯紝璇曠敤榪囦竴鐐癸紝鎰熻紜疄浠や漢闇囨儕錛屽煎緱鍏蟲敞銆?br />
java鐨勬妧鏈叾瀹炴槸鐪嬬潃寰堢儹闂癸紝姣旇緝澶х殑涓滆タ涔熶笉灝戯紝浣嗘槸鐪熸鍏蟲敞web榪欎竴鍧楃殑鍏跺疄涓嶅錛屾棤璁烘槸struts榪樻槸webwork,紱繪垜浠墍璇寸殑鐪熸鐨勨滃揩閫熷紑鍙戔濈殑璺濈寰堣繙錛岃屼互涓婁竴浜涘伐鍏風殑鍑虹幇涔熻浼氶愭鏀瑰杽j2ee鍦ㄨ繖涓棰嗗煙鐨勭幇鐘躲?br />
鎴戜箣鎵浠ュ榪欎釜鐩墠鏈夌偣鍏磋叮錛岀‘瀹炴湁涓縐嶅己鐑堢殑鍙嶅樊鍦ㄦ姌紓ㄧ潃鎴戯紝鍥犱負鎴戠浉淇″湪j2ee鐨剋eb寮鍙戦噷紜疄瀛樺湪鏈潵瑕佸紑鍙?鍛ㄥ鐨勫伐浣滈噺寰堝彲鑳界敤涓涓ソ鐨勫伐鍏峰嚑涓皬鏃跺氨鎼炲畾浜嗭紝榪欐槸涓浠跺涔堣崚鍞愭悶絎戠殑浜嬫儏錛熷鏋渄orado鍦ㄥ畠鐨勪駭鍝佷腑鐪熺殑鑳藉仛鍒拌繖鏍烽偅鎴戜滑鐨刯ava寮鍙戦偅涔堝潙鍚冨潙鍚冪殑鎶樿吘涓粈涔堝姴鍟? 涔熻鐪熺殑鏈夊榪癸紝鎴戝畞鎰跨浉淇℃湁榪欐牱鐨勫榪廣?br />
澶у鏈変粈涔堝ソ鐨勬兂娉曞彲浠ヨ璁轟竴涓嬨?br />

Alex 2007-01-20 22:56 鍙戣〃璇勮
]]>
[zt]娉ㄥ唽com緇勪歡http://m.tkk7.com/alex/archive/2006/12/20/89046.htmlAlexAlexWed, 20 Dec 2006 07:13:00 GMThttp://m.tkk7.com/alex/archive/2006/12/20/89046.htmlhttp://m.tkk7.com/alex/comments/89046.htmlhttp://m.tkk7.com/alex/archive/2006/12/20/89046.html#Feedback0http://m.tkk7.com/alex/comments/commentRss/89046.htmlhttp://m.tkk7.com/alex/services/trackbacks/89046.html
鏈榪戦」鐩腑鐢ㄥ埌浜嗘敹閾訛紝闇瑕佸湪欏炬樉涓婃樉紺洪噾棰?


1.灝?dll銆?ocx絳夎冨埌system32涓嬨?br />2.鐢ㄥ懡浠ゆ敞鍐宺egsvr32.exe聽 .dll銆?eg:regsvr32.exe聽 OWC11.dll)
3.鍦ㄦ敞鍐岃〃涓煡鐪嬶細鍒╃敤鍚嶇О鎴栦笌鍏跺敮涓瀵瑰簲鐨刢lsid("clsid:0002E55D-0000-0000-C000-聽聽聽000000000046")鍙煡鎵懼埌鐩稿叧淇℃伅

Alex 2006-12-20 15:13 鍙戣〃璇勮
]]>
workshop studio闇囨捈浣犵殑寮鍙戞晥鐜?[bea world2006 褰掓潵,璋堟劅鍙楋紝鍙戠墷楠歖http://m.tkk7.com/alex/archive/2006/12/20/89003.htmlAlexAlexWed, 20 Dec 2006 03:39:00 GMThttp://m.tkk7.com/alex/archive/2006/12/20/89003.htmlhttp://m.tkk7.com/alex/comments/89003.htmlhttp://m.tkk7.com/alex/archive/2006/12/20/89003.html#Feedback10http://m.tkk7.com/alex/comments/commentRss/89003.htmlhttp://m.tkk7.com/alex/services/trackbacks/89003.html
bea world 2006 鍖椾含宸茬粡榪囧幓濂藉嚑澶╀簡錛屾棭灝辨兂璁板綍涓涓嬩竴鐩村繖 :)
  闃呰鍏ㄦ枃

Alex 2006-12-20 11:39 鍙戣〃璇勮
]]>
jstl鏍囩娉ㄦ剰闂http://m.tkk7.com/alex/archive/2006/12/11/86986.htmlAlexAlexMon, 11 Dec 2006 11:21:00 GMThttp://m.tkk7.com/alex/archive/2006/12/11/86986.htmlhttp://m.tkk7.com/alex/comments/86986.htmlhttp://m.tkk7.com/alex/archive/2006/12/11/86986.html#Feedback2http://m.tkk7.com/alex/comments/commentRss/86986.htmlhttp://m.tkk7.com/alex/services/trackbacks/86986.html
鍘熸潵涓鐩寸敤struts,鏈榪戦」鐩噷鏈変漢鐢╦stl,鎴戜篃灝遍『渚挎嬁鏉ョ敤錛屾劅瑙夎繕鏄笉閿欍?br />
榪囩▼涓鍒頒竴浜涘皬鐨勯棶棰樻葷粨濡備笅:

涓銆傜増鏈棶棰?br />jstl瀛樺湪1.0鍜?.1鐨勫樊寮傞棶棰橈紝鐢‥L寤鴻闇瑕佸湪1.1鐨勭増鏈笅錛?.1鐨刄RI鐨勬爣蹇椾負:
<%@聽taglib聽uri="http://java.sun.com/jsp/jstl/core"聽prefix="c"%>
<%@聽taglib聽uri="http://java.sun.com/jsp/jstl/functions"聽prefix="fn"%>

娉ㄦ剰錛?.0鐗堟湰娌℃湁/jsp/.

濡傛灉鐢ㄧ殑1.0浼氬嚭鐜板涓嬪紓甯?br />
org.apache.jasper.JasperException:聽/public/left_tree.jsp(100,24)聽According聽to聽TLD聽or聽attribute聽directive聽in聽tag聽file,聽attribute聽items聽does聽not聽accept聽any聽expressions
聽聽聽聽org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:
510)
聽聽聽聽org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
375)
聽聽聽聽org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
314)
聽聽聽聽org.apache.jasper.servlet.JspServlet.service(JspServlet.java:
264)
聽聽聽聽javax.servlet.http.HttpServlet.service(HttpServlet.java:
802)
聽聽聽聽org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:
75)
聽聽聽聽org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:
77)
聽聽聽聽com.wellsoon.zfzw.webapp.common.VabAccessFilter.doFilter(VabAccessFilter.java:
43)


root聽cause聽



浜屻傛墦寮錛ワ棘

<%@聽page聽contentType="text/html;charset=gb2312"聽language="java"聽isELIgnored="false"%>

鍓嶆彁鏄鍣ㄦ敮鎸侊紥錛庯紣錛屽嵆浣挎敮鎸侀粯璁や篃鏈繀鎵撳紑錛屾渶瀹夊叏鐨勬柟寮忓氨鏄樉紺烘墦寮 isELIgnored="false"

涓?fn鐨勭敤娉?br />瀵逛簬Vo閲岀殑涓涓狶ist浣渓ength鐨勮綆楁垨鍒ゆ柇寰堟柟渚?br />
<table聽width="160"聽border="0"聽cellspacing="0"聽cellpadding="4">
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
<c:forEach聽items="${menuInfos}"聽var="m">
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
<c:if聽test="${fn:length(m.subMenus)>0}">
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
<tr>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
<td>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
<script聽language="JavaScript">
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
var聽tObj聽=new聽treeClass("A1")
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽tObj.start();
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽tObj.m_start(
"<c:out聽value="${m.menuModule}"/>",0);
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
<c:forEach聽items="${m.subMenus}"var="sub">
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽tObj.add_Sub(
"<c:out聽value="${sub.menuName}"/>","<%=path%>
<c:out聽value=
"${sub.url}"/>","mymain");
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
</c:forEach>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽tObj.m_end();
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽tObj.end();
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽tObj.print();
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
</script>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
</td>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
</tr>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
</c:if>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
</c:forEach>

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
</table>

鍥?tld鐨勫0鏄庡彲浠ュ湪web.xml浣滄樉寮忓0鏄庝篃鍙互鐢╤ttp浣滅洿鎺RL澹版槑
鎺ㄨ崘鐢ㄦ湰鍦扮殑鏂瑰紡.



Alex 2006-12-11 19:21 鍙戣〃璇勮
]]>
瑙e喅response.sendRedirect("mypage.jsp")鐨勯棶棰?/title><link>http://m.tkk7.com/alex/archive/2006/10/31/78244.html</link><dc:creator>Alex</dc:creator><author>Alex</author><pubDate>Tue, 31 Oct 2006 04:32:00 GMT</pubDate><guid>http://m.tkk7.com/alex/archive/2006/10/31/78244.html</guid><wfw:comment>http://m.tkk7.com/alex/comments/78244.html</wfw:comment><comments>http://m.tkk7.com/alex/archive/2006/10/31/78244.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://m.tkk7.com/alex/comments/commentRss/78244.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/alex/services/trackbacks/78244.html</trackback:ping><description><![CDATA[     鎽樿:   <a href='http://m.tkk7.com/alex/archive/2006/10/31/78244.html'>闃呰鍏ㄦ枃</a><img src ="http://m.tkk7.com/alex/aggbug/78244.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/alex/" target="_blank">Alex</a> 2006-10-31 12:32 <a href="http://m.tkk7.com/alex/archive/2006/10/31/78244.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鐢╦s瀹炵幇鎵撳嵃鍜屽鍑轟負Excelhttp://m.tkk7.com/alex/archive/2006/10/21/76526.htmlAlexAlexSat, 21 Oct 2006 04:19:00 GMThttp://m.tkk7.com/alex/archive/2006/10/21/76526.htmlhttp://m.tkk7.com/alex/comments/76526.htmlhttp://m.tkk7.com/alex/archive/2006/10/21/76526.html#Feedback0http://m.tkk7.com/alex/comments/commentRss/76526.htmlhttp://m.tkk7.com/alex/services/trackbacks/76526.html
淇濆瓨涓篍xcel:

function聽saveAsExcel(HeadName,聽DivName)聽{
聽聽聽聽聽聽聽聽聽聽聽聽
var聽s聽="<center>"+聽HeadName聽+"</center>"+"\r\n";
聽聽聽聽聽聽聽聽聽聽聽聽s聽
+=聽DivName.innerHTML;
聽聽聽聽聽聽聽聽聽聽聽聽
var聽xlsWindow聽=聽window.open("",聽"_blank",聽"width=1,height=1,scrollbars=no,toolbar=no");
聽聽聽聽聽聽聽聽聽聽聽聽xlsWindow.document.write(s);
聽聽聽聽聽聽聽聽聽聽聽聽xlsWindow.document.close();
聽聽聽聽聽聽聽聽聽聽聽聽xlsWindow.document.execCommand('Saveas',聽
true,聽'%homeDrive%\\Data.xls')
聽聽聽聽聽聽聽聽聽聽聽聽xlsWindow.close();
聽聽聽聽聽聽聽聽}


鎵撳嵃褰撳墠欏甸潰:

function聽PrintDataSoure(HeadName1,HeadName2,HeadName3,DivName,TailName1)聽{
聽聽
var聽oldBody=document.body.innerHTML;
聽聽
var聽Div1=DivName.innerHTML;
聽聽
var聽css聽=聽'<style聽type="text/css"聽media=all>'聽+
聽聽'p聽{聽line
-height:聽120%}'聽+
聽聽'.fhead聽{聽聽聽font
-size:聽9pt;聽text-decoration:聽none;聽color:聽104A7B}'聽+
聽聽'.ftitle聽{聽line
-height:聽120%;聽font-size:聽18px;聽color:聽#000000}'聽+
聽聽'td聽{聽font
-size:聽10px;聽color:聽#000000}'聽+
聽聽'
</style>'聽;

聽聽
var聽body聽='<table聽width="640"聽border="0"聽cellspacing="0"聽cellpadding="5">'聽+
聽聽'聽
<tr>聽'聽+
聽聽'聽
<td聽class="fbody">'聽+
聽聽'聽
<b><div聽align="center">'+'<font聽size="+1"聽class=fhead>'+聽HeadName1聽+聽'</div>'+'</font></b>'+
聽聽'聽
<b><div聽align="center">'+'<font聽size="+1"聽class=fhead>'+聽HeadName2聽+聽'聽聽聽聽聽'聽+聽HeadName3聽+'</div></font></b>'+
聽聽'聽
</td>'聽+
聽聽'聽
</tr>'聽+
聽聽'聽
<tr>聽'聽+
聽聽'聽
<td聽class="fbody">'聽+
聽聽'聽
<div聽align="center"聽class=ftitle>'聽+聽Div1聽+聽'</div>'+
聽聽'聽
<b><div聽align="right">'+'<font聽size="+1"聽class=fhead>'+聽'聽聽聽聽聽聽</div>'+'</font></b>'+
聽聽'聽
<b><div聽align="right">'+'<font聽size="+1"聽class=fhead>'+聽TailName1聽+聽'</div>'+'</font></b>'+
聽聽'聽
</td>'聽+
聽聽'聽
</tr>'聽+
聽聽'
</table>';
document.body.innerHTML聽
=聽'<center>'聽+聽css聽+聽body聽+'<OBJECT聽classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"聽height=0聽id=wb聽name=wb聽width=0></OBJECT>'+'</center>';
wb.execwb(
6,6);
document.body.innerHTML
=oldBody;
}






Alex 2006-10-21 12:19 鍙戣〃璇勮
]]>
[zt]鍏充簬Cookie璺ㄥ煙鎿嶄綔閬囧埌鐨勯棶棰樺強瑙e喅鏂規硶http://m.tkk7.com/alex/archive/2006/09/18/70380.htmlAlexAlexMon, 18 Sep 2006 12:59:00 GMThttp://m.tkk7.com/alex/archive/2006/09/18/70380.htmlhttp://m.tkk7.com/alex/comments/70380.htmlhttp://m.tkk7.com/alex/archive/2006/09/18/70380.html#Feedback0http://m.tkk7.com/alex/comments/commentRss/70380.htmlhttp://m.tkk7.com/alex/services/trackbacks/70380.html娉?鍏充簬璺ㄥ煙鐧婚檰cookie鐨勯棶棰樺湪緗戜笂鎼滅儲浜嗕竴涓嬶紝娌$湅鍒版湁java涓嬬殑紺轟緥錛岃繖涓猘sp鐨勪篃鍙互鍙傜収涓涓嬶紝鏈夌┖鍐嶅湪java涓嬫祴涓涓?

key words:鍗曠偣鐧婚檰 SSO 璺ㄥ煙cookie


鎽樿錛?b>褰撲綘鏈変竴涓狢ookie緇勶紙鎴栧彨Cookie瀛楀吀錛変嬌鐢―omain灞炴ф寚瀹氬煙鍚嶄箣鍚庯紝褰撲綘鍦ㄥ璇ョ粍鐨勬垚鍛樿繘琛屼慨鏀規垨鏂板鐨勬椂鍊欙紝涓瀹氳鍦ㄦ搷 浣滀箣鍚庡姞涓奟esonse.Cookies(CookieName).Domain灞炴с傚鏋滄病鏈夊繀瑕侊紝璇蜂笉瑕佷慨鏀瑰凡璁劇疆Domain鐨凜ookie緇?
鍏抽敭瀛楋細
姝f枃錛?br />聽聽聽聽Cookie璺ㄥ煙鎿嶄綔鐪嬫潵鏄釜綆鍗曠殑闂,鍥犱負鍙鎸囧畾Domain灞炴т負鎸囧畾緗戠珯鐨勬牴鍩熷悕灝卞彲浠ヤ簡.浣嗘槸絎旇呭湪瀹為檯浣跨敤榪囩▼涓嵈閬囧埌浜嗕竴浜涢棶棰橈紝鐨勭‘鍊煎緱娉ㄦ剰.聽 銆銆鐜浠嬬粛 銆銆cookie鍦╳ww涓誨煙鍚嶄笅鍒涘緩錛屽茍鍐欏叆Domain灞炴э紝濡傦細(涓烘柟渚胯皟璇曚互涓嬩唬鐮佺殕涓篴sp浠g爜) 銆銆Write.asp <%
Response.Cookies(CookieName)("UserName")聽=聽"SunBird"
Response.Cookies(CookieName)("Password")聽=聽"xyz1234"
Response.Cookies(CookieName).Domain聽=聽"xxxx.com"
%>
銆銆涓婇潰鏂囦歡鏀懼湪www涓誨煙鍚嶄笅錛屽悓鏃跺湪鍚岀洰褰曚笅鏀劇疆涓涓鍙朿ookie鐨凴ead.asp 銆銆Read.asp <%
Response.Write聽Request.Cookies(CookieName)("UserName")
Response.Write聽Request.Cookies(CookieName)("Password")
%>
銆銆鍐嶆斁涓涓猂ead.asp鏂囦歡鍒板彟澶栦竴涓瓙鍩熷悕绔欑偣閲岋紝浠g爜鍚屼笂銆傛渶鍚庢垜浠啀鍋氫竴涓竻闄ookie鐨凜lear.asp鏀懼湪涓誨煙鍚嶄笅 銆銆Clear.asp <%
Response.Cookies(CookieName)("UserName")聽=聽""
Response.Cookies(CookieName)("Password")聽=聽""
Response.Cookies(CookieName).Domain聽=聽"xxxx.com"
%>
銆銆鐜板湪鍙互閫氳繃涓嬮潰鐨勬墽琛岄『搴忔潵嫻嬭瘯錛學rite.asp-->涓誨煙鍚嶇殑Read.asp-->瀛愬煙鍚嶇殑Read.asp聽鎵鏈? Read.asp欏甸潰閮藉彲浠ヨ鍙栧埌Write.asp鍒涘緩鐨刢ookie鐨勫鹼紝鐒跺悗鍐嶈繍琛孋lear.asp榪涜娓呴櫎錛屼竴鍒囬兘Ok錛岀湅涓婂幓娌℃湁浠涔堥棶棰樸?/p'> 銆銆浣嗘槸鎶婅繖縐嶆柟娉曡繍鐢ㄥ埌瀹為檯鐨勭珯鐐規椂鍗村嚭鐜伴棶棰樹簡銆?/p'> 銆銆闂鎻忚堪錛?/p'> 銆銆絎竴嬈$櫥褰曚竴鍒噊k錛屾墍鏈夊瓙鍩熷悕閮藉彲浠ヨ闂埌涓誨煙鍚嶅瓨鍌ㄧ殑cookie錛屼絾鏄紝涓鏃﹂鍑轟箣鍚庯紝瀛愬煙鍚嶇殑cookie琚竻闄や簡錛屼絾鏄富鍩熷悕鐨? cookie浠嶇劧淇濈暀鐫錛屽己琛屾竻闄や富鍩熷悕鐨刢ookie涔嬪悗錛屾棤璁烘庢牱鐧誨綍涓誨煙鍚嶄笅閮芥棤娉曚繚瀛榗ookie浜嗭紝闄ら潪鍏蟲帀嫻忚鍣ㄩ噸鏂版墦寮銆?/p'> 銆銆緇忚繃澶氭灝濊瘯涔嬪悗錛屾棤鎰忎腑鍙戠幇闂鎵鍦紝浠ヤ笅鏄祴璇曠粡榪囥?/p'> 銆銆鍒涘緩涓涓猈rite2.asp鐨勯〉闈㈡斁鍦ㄤ富鍩熷悕涓?/p'> <%
Response.Cookies(CookieName)("TEST_COOKIE")聽=聽"TEST_COOKIE"
%>
銆銆絎竴姝ワ細鍏抽棴嫻忚鍣ㄥ悗錛屾寜浠ヤ笅欏哄簭鎵ц錛學rite.asp-->涓誨煙鍚嶇殑Read.asp-->瀛愬煙鍚嶇殑Read.asp聽鍒拌繖閲屾墍鏈塕ead.asp璇誨彇姝e父銆?/p'> 銆銆絎簩姝ワ細Clear.asp-->涓誨煙鍚嶇殑Read.asp-->瀛愬煙鍚嶇殑Read.asp聽鍒拌繖閲屾竻闄ゆ搷浣滄槸鎴愬姛鐨勩?/p'> 銆銆絎笁姝ワ細Write.asp-->聽Write2.asp聽-->聽涓誨煙鍚峈ead.asp聽-->聽瀛愬煙鍚峈ead.asp聽鍒拌繖閲屼袱涓猂ead.asp閮藉彲浠ヨ鍙栧埌cookie鐨勫箋?/p'> 銆銆絎洓姝ワ細閲嶆柊鎵ц絎簩姝ワ紝鍙戠幇涓誨煙鍚峈ead.asp浠嶇劧杈撳嚭浜嗗鹼紝鑰屽瓙鍩熷悕涓嬬殑Read.asp鐨勫煎凡緇忚娓呯┖浜嗐?/p'> 銆銆鏍規嵁浠ヤ笂嫻嬭瘯鎬葷粨浠ヤ笅鍑犵偣鍐嶈法鍩熶嬌鐢╟ookie鏃墮渶瑕佹敞鎰忕殑鍦版柟 銆銆1銆佸綋浣犳湁涓涓狢ookie緇勶紙鎴栧彨Cookie瀛楀吀錛変嬌鐢―omain灞炴ф寚瀹氬煙鍚嶄箣鍚庯紝褰撲綘鍦ㄥ璇ョ粍鐨勬垚鍛樿繘琛屼慨鏀規垨鏂板鐨勬椂鍊欙紝涓瀹氳鍦ㄦ搷浣滀箣鍚庡姞涓奟esonse.Cookies(CookieName).Domain灞炴с?/p'> 銆銆2銆佸鏋滄病鏈夊繀瑕侊紝璇蜂笉瑕佷慨鏀瑰凡璁劇疆Domain鐨凜ookie緇勶紝鐩存帴浣跨敤Response.Cookies("CookieText")聽=聽CookieValue聽鏉ュ垱寤轟竴涓柊鐨凜ookie銆?br />

Alex 2006-09-18 20:59 鍙戣〃璇勮
]]>
[zt]Struts鍥介檯鍖栧鐞?/title><link>http://m.tkk7.com/alex/archive/2006/09/05/67905.html</link><dc:creator>Alex</dc:creator><author>Alex</author><pubDate>Tue, 05 Sep 2006 14:22:00 GMT</pubDate><guid>http://m.tkk7.com/alex/archive/2006/09/05/67905.html</guid><wfw:comment>http://m.tkk7.com/alex/comments/67905.html</wfw:comment><comments>http://m.tkk7.com/alex/archive/2006/09/05/67905.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/alex/comments/commentRss/67905.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/alex/services/trackbacks/67905.html</trackback:ping><description><![CDATA[key words:struts鍥介檯鍖?<br /><br /><p>涓銆丼truts鐨勫浗闄呭寲<br />聽聽聽 Struts鏄竴縐嶆敮鎸佸浗闄呭寲鐨凪VC鐨刉eb Framework銆傚彲鏄浣曟潵浣跨敤struts鍥介檯鍖栨槸涓涓棶棰樸備笅闈㈡垜浠潵鎺㈣涓涓嬶紝濡備綍瀹炵幇Struts鐨勫浗闄呭寲銆俉eb紼嬪紡鐨勫浗闄呭寲娑夊強鍒?涓眰闈㈢殑涓滆タ銆傜涓銆乯sp閮ㄥ垎鐨勮緭鍏?杈撳嚭錛涚浜屻佸簲鐢ㄥ鐞嗙▼搴忕殑鍥介檯鍖栵紱絎笁銆丏B鐨勫浗闄呭寲闂銆傝繖閲屼富瑕佹帰璁ㄧ殑鏄痡sp閮ㄥ垎鐨勮緭鍏?杈撳嚭闂銆?/p><p>浜屻侀潤鎬侀儴鍒嗙殑鍥介檯鍖?br />聽聽 Struts鐨刯sp欏甸潰闈欐佸唴瀹癸紙鍖呮嫭闈欐佹枃瀛楋紝闈欐佸浘鐗囷級鍥介檯鍖栭棶棰橈紝鏄氳繃璧勬簮鏂囦歡鏉ュ疄鐜扮殑銆傝瀹炵幇鍥介檯鍖栵紝闇瑕佸仛濡備笅鍑犻」宸ヤ綔錛?銆佸畾涔墂eb.xml鐨勫姩ActionServlet鐨勫弬鏁幫紱2銆佸畾涔夎祫婧愭枃浠訛紱3銆佸畾涔塉SP欏甸潰鐨勫瓧絎﹂泦鍚堬紱4銆佸湪JSP欏甸潰鑾峰彇璧勬簮鏂囦歡閲岄潰鐨勫唴瀹廣?br />1銆佸畾涔墂eb.xml鐨勫姩ActionServlet鐨勫弬鏁?br /></p><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">servlet</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br />聽聽</span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">servlet-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">action</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">servlet-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br />聽聽</span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">servlet-class</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">org.apache.struts.action.ActionServlet</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">servlet-class</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">聽聽聽<br />聽聽</span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">init-param</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">param-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">config</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">param-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">param-value</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">/WEB-INF/struts-config.xml</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">param-value</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br />聽聽</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">init-param</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br />聽聽</span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">init-param</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">param-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">application</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">param-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">param-value</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">ApplicationResources</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">param-value</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 128, 0);"><!--</span><span style="color: rgb(0, 128, 0);">聽榛樿璧勬簮鏂囦歡鍚嵚?/span><span style="color: rgb(0, 128, 0);">--></span><span style="color: rgb(0, 0, 0);"><br />聽聽</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">init-param</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br />聽聽</span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">load-on-startup</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">2</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">load-on-startup</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">servlet</span><span style="color: rgb(0, 0, 255);">></span></div><br /><p>2銆佸畾涔夎祫婧愭枃浠?br />鍦?WEB-INF/classes涓嬮潰娣誨姞UTF-8璧勬簮鏉熸枃浠躲傛瘡涓涓祫婧愭枃浠舵槸鈥滈敭錛嶅尖濆鐨勯泦鍚堛傚湪JSP欏甸潰閲岄潰鍙互閫氳繃閿潵鎵懼埌鐩稿簲鐨勬暟鎹箋傛湰渚嬪瓙鐨勬枃浠跺悕鏄疉pplicationResources錛屾墍浠ョ浉搴旂殑璧勬簮鏂囦歡鏉熸槸(鍖呮嫭e鏂囷紝綆浣撲腑鏂囷紝綣佷綋涓枃)<br />ApplicationResources.properties : 榛樿璧勬簮鏂囦歡銆傚綋鍦ㄥ叾浠栬祫婧愭枃浠墮噷闈㈡壘涓嶅埌鏌愪釜璧勬簮鐨勬椂鍊欙紝灝變嬌鐢ㄨ璧勬簮鏂囦歡閲岄潰鐨勫畾涔夈?br /><font color="#ff0000">ApplicationResources_zh_CN.properties錛氱畝浣撲腑鏂囪祫婧愭枃浠躲?br />ApplicationResources_zh_TW.properties錛氱箒浣撲腑鏂囪祫婧愭枃浠躲?/font><br />璧勬簮鏂囦歡鐨勬牸寮忎負錛氶粯璁よ祫婧愭枃浠跺悕_鍥藉埆_璇█.properties銆傚叾涓瘡涓枃浠墮兘鏄氳繃<font color="#660000">%JAVA_HONE%/BIN/native2ascii.exe</font>宸ュ叿杞崲鑰屾潵銆備綘涔熷彲浠ヤ嬌鐢ㄥ叾浠栧伐鍏鋒潵澶勭悊寰楀埌(<a >http://java.sun.com/products/jilkit/</a> 鏈変竴涓伐鍏稩nternationalization Java Internationalization and Localization Toolkit 鍙互澶勭悊)銆備笅闈㈡槸涓涓緥瀛?鎴戜滑鏄劇ず濡備綍浣跨敤%JAVA_HONE%/BIN/native2ascii.exe鍛戒護鏉ュ畾涔夎祫婧愭潫鏂囦歡銆?br />2.1 鍑嗗鏂囦歡<br />//ApplicationResources.properties 錛涢粯璁よ祫婧愭枃浠訛紝閫氬父閲岄潰鐨勫唴瀹規槸鑻辨枃鐨勩?br />label.username=USERNAME :<br />label.password=PASSWORD :</p><p>//ApplicationResources_zh_CN.bak 錛涚畝浣撲腑鏂囩殑璧勬簮鏂囦歡銆傞噷闈㈢殑鍐呭鏄腑鏂囩殑銆傚畠闇瑕佸伐鍏峰皢鍏朵腑鐨勫唴瀹瑰鐞嗘垚UTF-8<br />label.username=鐢ㄦ埛鍚? :<br />label.password=瀵喡?鐮?:</p><p>//ApplicationResources_zh_TW.bak : 綣佷綋涓枃鐨勮祫婧愭枃浠躲傞噷闈㈢殑鍐呭鏄腑鏂囩殑銆傚畠闇瑕佸伐鍏峰皢鍏朵腑鐨勫唴瀹瑰鐞嗘垚UTF-8,涓嬮潰鐨勫唴瀹規槸綣佷綋鐮併?br />label.username=銉庛倎?W :<br />label.password=銉庛倎?W :</p><p>2.2 鍑嗗瀹屾垚浠ュ悗錛屼嬌鐢ㄥ涓嬬殑鍛戒護鍒涘緩UTF-8璧勬簮鏂囦歡鏉?br /><font color="#ff0000">native2ascii -encoding gb2312 ApplicationResources_zh_CN.bak ApplicationResources_zh_CN.properties</font><br />native2ascii -encoding big5 Applica tionResources_zh_TW.bak ApplicationResources_zh_TW.properties</p><p>3銆佸畾涔塉SP欏甸潰鐨勫瓧絎﹂泦鍚?br />瀹氫箟JSP欏甸潰鐨勮璦涓篣TF-8銆傚湪姣忎釜JSP欏甸潰錛屽繀欏繪湁濡備笅鐨勫唴瀹癸紙濡傛灉浣跨敤鐨勬ā鏉挎妧鏈紝鍒欏彧鏄渶瑕佸湪妯℃澘欏甸潰娣誨姞錛屽叾浠栦嬌鐢ㄨ妯℃澘鐨勯〉闈㈡棤闇娣誨姞錛?br /><%@ page contentType="text/html;charset=UTF-8"%></p><p>4銆佸湪JSP欏甸潰鑾峰彇璧勬簮鏂囦歡閲岄潰鐨勫唴瀹廣?br />鍦↗SP閲岄潰闇瑕佹樉紺洪潤鎬佸唴瀹圭殑鍦版柟浣跨敤<bean:message />strus鐨刡ean tag鍖呴噷闈㈢殑message鏍囩銆備緥濡備笅闈㈢殑欏甸潰</p><p><table><br />聽 <tr><br />聽聽聽 <td align="right"><bean:message key="label.username" /></td>聽聽聽 <br />聽 </tr><br />聽 <tr><br />聽聽聽 <td align="right"><bean:message key="label.password" /></td><br />聽 </tr><br /></table></p><p>濂戒簡錛屽湪榪欎釜欏甸潰鏄劇ず鐨勬椂鍊欙紝濡傛灉瀹㈡埛鐨処E鐨勮璦闆嗗悎鏄痾h_CN鐨勮瘽錛屽氨浼氭樉紺?br />鐢ㄦ埛鍚嶏細<br />鍙B?浠わ細</p><p>濡傛灉鏄鎴風殑IE鐨勮璦鏄痾h_TW鐨勮瘽錛屽氨浼氭樉紺?br />鐢ㄦ埛鍚嶏細<br />鐢ㄦ埛鍚嶏細</p><p>鍙互鍦↖E鐨勫伐鍏?>Internet閫夐」->璇█鐨勫湴鏂癸紝鏉ラ夋嫨錛屽畾涔塈E鐨勮璦銆?/p><p>涓夈佽〃鍗曠殑鏁版嵁鐨勫鐞嗐?br /><b>瀵逛簬琛ㄥ崟鏁版嵁鐨勫鐞嗭紝鎴戜滑鏄氳繃娣誨姞涓涓狥ilter鏉ュ疄鐜扮殑銆傛墍鏈夋彁浜ょ殑璇鋒眰錛岄兘闇瑕佸仛瀛楃澶勭悊銆傜劧鍚庡湪web.xml閲岄潰瀹氫箟璇ilter銆傝繖鏍鋒垜浠氨涓嶉渶瑕佸湪紼嬪簭閲岄潰鍋氫換浣曠殑瀛楃澶勭悊銆?/b><br />3.1 瀹氫箟Filter銆備笅闈㈡槸涓涓緥瀛愩?br />package com.webapps.commons;</p><p>import java.io.*;<br />import javax.servlet.*;</p><p>public class CharsetEncodingFilter implements Filter{<br />聽 private FilterConfig config = null;<br />聽 private String defaultEncode = "UTF-8";</p><p>聽 public void init(FilterConfig config) throws ServletException {<br />聽聽聽 this.config = config;<br />聽聽聽 if(config.getInitParameter("Charset")!=null){<br />聽聽聽聽聽聽聽 defaultEncode=config.getInitParameter("Charset");<br />聽聽聽 }<br />聽 }</p><p>聽 public void destroy() {<br />聽聽聽 this.config = null;<br />聽 }</p><p>聽 public void doFilter(ServletRequest request, ServletResponse response,<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 FilterChain chain) throws IOException, ServletException {<br />聽聽聽 ServletRequest srequest=request;<br />聽聽聽 srequest.setCharacterEncoding(defaultEncode);<br />聽聽聽 chain.doFilter(srequest,response);<br />聽 }<br />}</p><p>3.2 鍦╳eb.xml閲岄潰澹版槑浣跨敤璇ilter<br /><filter><br />聽 <filter-name>Character Encoding</filter-name><br />聽 <filter-class>com.webapps.commons.CharsetEncodingFilter</filter-class><br /></filter><br /><filter-mapping><br />聽 <filter-name>Character Encoding</filter-name><br />聽 <url-pattern>/*</url-pattern><br /></filter-mapping></p><p>鍥涖佹墿灞?br />寰呯畫鐨勬槸搴旂敤紼嬪簭閮ㄥ垎鐨勫浗闄呭寲闂錛屽拰DB鐨勫浗闄呭寲闂銆?/p><br /><img src ="http://m.tkk7.com/alex/aggbug/67905.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/alex/" target="_blank">Alex</a> 2006-09-05 22:22 <a href="http://m.tkk7.com/alex/archive/2006/09/05/67905.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[zt]緇忓吀姝e垯琛ㄨ揪寮?/title><link>http://m.tkk7.com/alex/archive/2006/08/29/66440.html</link><dc:creator>Alex</dc:creator><author>Alex</author><pubDate>Tue, 29 Aug 2006 07:02:00 GMT</pubDate><guid>http://m.tkk7.com/alex/archive/2006/08/29/66440.html</guid><wfw:comment>http://m.tkk7.com/alex/comments/66440.html</wfw:comment><comments>http://m.tkk7.com/alex/archive/2006/08/29/66440.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/alex/comments/commentRss/66440.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/alex/services/trackbacks/66440.html</trackback:ping><description><![CDATA[ <h1 align="center"> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141">key words錛氭鍒欒〃杈懼紡 聽妯″紡鍖歸厤 javascript</font> </font> </h1> <p> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141">鎽樿錛氭敹闆嗕竴浜涘父鐢ㄧ殑姝e垯琛ㄨ揪寮忋?/font> </font> </p> <p> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141">姝e垯琛ㄨ揪寮忕敤浜庡瓧絎︿覆澶勭悊錛岃〃鍗曢獙璇佺瓑鍦哄悎錛屽疄鐢ㄩ珮鏁堬紝浣嗙敤鍒版椂鎬繪槸涓嶅お鎶婃彙錛屼互鑷村線寰瑕佷笂緗戞煡涓鐣傛垜灝嗕竴浜涘父鐢ㄧ殑琛ㄨ揪寮忔敹钘忓湪榪欓噷錛屼綔澶囧繕涔嬬敤銆傛湰璐撮殢鏃朵細鏇存柊銆?/font> </font> </p> <p> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141"> <font style="color: rgb(0, 0, 0);" color="#800080">鍖歸厤涓枃瀛楃鐨勬鍒欒〃杈懼紡錛?[\u4e00-\u9fa5]</font> </font> </font> </p> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141"> <font color="#000080"> <span style="color: rgb(0, 0, 0);"> <p> <font color="#000080">鍖歸厤鍙屽瓧鑺傚瓧絎?鍖呮嫭姹夊瓧鍦ㄥ唴)錛歔^\x00-\xff]</font> </p> <p> <font color="#000080">搴旂敤錛氳綆楀瓧絎︿覆鐨勯暱搴︼紙涓涓弻瀛楄妭瀛楃闀垮害璁?錛孉SCII瀛楃璁?錛?/font> </p> <p> <font color="#000080">String.prototype.len=function(){return this.replace([^\x00-\xff]/g,"aa").length;}</font> </p> <p> <font style="color: rgb(0, 0, 0);" color="#800080">鍖歸厤絀鴻鐨勬鍒欒〃杈懼紡錛歕n[\s| ]*\r</font> </p> <p> <font color="#000080">鍖歸厤HTML鏍囪鐨勬鍒欒〃杈懼紡錛?<(.*)>.*<\/\1>|<(.*) \/>/</font> <font color="#000000"> </font> </p> <font color="#000080"> </font> <p> <font color="#000080"> <font color="#800080">鍖歸厤棣栧熬絀烘牸鐨勬鍒欒〃杈懼紡錛?^\s*)|(\s*$)</font> </font> </p> <p> <font color="#000080"> <font color="#800080">搴旂敤錛歫avascript涓病鏈夊儚vbscript閭f牱鐨則rim鍑芥暟錛屾垜浠氨鍙互鍒╃敤榪欎釜琛ㄨ揪寮忔潵瀹炵幇錛屽涓嬶細</font> </font> </p> <p> <font color="#000080"> <font color="#800080">String.prototype.trim = function()<br /></font> </font> </p> </span> <font color="#800080">{<br />聽聽聽 return this.replace(/(^\s*)|(\s*$)/g, "");<br />}</font> </font> </font> </font> <p> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141"> <font color="#000080"> <font color="#000080">鍒╃敤姝e垯琛ㄨ揪寮忓垎瑙e拰杞崲IP鍦板潃錛?/font> </font> </font> </font> </p> <p> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141"> <font color="#000080"> <font color="#000080">涓嬮潰鏄埄鐢ㄦ鍒欒〃杈懼紡鍖歸厤IP鍦板潃錛屽茍灝咺P鍦板潃杞崲鎴愬搴旀暟鍊肩殑javascript紼嬪簭錛?/font> </font> </font> </font> </p> <p> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141"> <font color="#000080"> <font color="#000080">function IP2V(ip)<br />{<br />聽re=/(\d+)\.(\d+)\.(\d+)\.(\d+)/g聽 //鍖歸厤IP鍦板潃鐨勬鍒欒〃杈懼紡<br />if(re.test(ip))<br />{<br />return RegExp.$1*Math.pow(255,3))+RegExp.$2*Math.pow(255,2))+RegExp.$3*255+RegExp.$4*1<br />}<br />else<br />{<br />聽throw new Error("Not a valid IP address!")<br />}<br />}</font> </font> </font> </font> </p> <p> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141"> <font color="#000080"> <font color="#000080">涓嶈繃涓婇潰鐨勭▼搴忓鏋滀笉鐢ㄦ鍒欒〃杈懼紡錛岃岀洿鎺ョ敤split鍑芥暟鏉ュ垎瑙e彲鑳芥洿綆鍗曪紝紼嬪簭濡備笅錛?/font> </font> </font> </font> </p> <p> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141"> <font color="#000080"> <font color="#000080">var ip="10.100.20.168"<br />ip=ip.split(".")<br />alert("IP鍊兼槸錛?+(ip[0]*255*255*255+ip[1]*255*255+ip[2]*255+ip[3]*1))</font> </font> </font> </font> </p> <p> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141"> <font color="#000080"> <font color="#800080">鍖歸厤Email鍦板潃鐨勬鍒欒〃杈懼紡錛歕w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*</font> </font> </font> </font> </p> <p> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141"> <font color="#000080"> <font color="#000080">鍖歸厤緗戝潃URL鐨勬鍒欒〃杈懼紡錛歨ttp://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?</font> </font> </font> </font> </p> <p> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141"> <font color="#000080"> <font color="#000080">寰楃敤姝e垯琛ㄨ揪寮忎粠URL鍦板潃涓彁鍙栨枃浠跺悕鐨刯avascript紼嬪簭錛屽涓嬬粨鏋滀負page1</font> </font> </font> </font> </p> <p> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141"> <font color="#000080"> <font color="#800080"> <font color="#000080">s="http://www.9499.net/page1.htm"<br />s=s.replace(/(.*\/){0,}([^\.]+).*/ig,"$2")<br />alert(s)</font> </font> </font> </font> </font> </p> <font face="瀹嬩綋" size="3"> <font style="color: rgb(0, 0, 0);" color="#414141"> <font color="#000080"> <font color="#800080"> <span style="color: rgb(0, 0, 0);"> <p> <font color="#800080">鍒╃敤姝e垯琛ㄨ揪寮忛檺鍒剁綉欏佃〃鍗曢噷鐨勬枃鏈杈撳叆鍐呭錛?/font> </p> <p> <font color="#800080">鐢ㄦ鍒欒〃杈懼紡闄愬埗鍙兘杈撳叆涓枃錛歰nkeyup="value=value.replace(/[^ \u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\u4E00-\u9FA5]/g,''))"</font> </p> <p> <font color="#800080">鐢ㄦ鍒欒〃杈懼紡闄愬埗鍙兘杈撳叆鍏ㄨ瀛楃錛?/font> <font color="#800080">聽onkeyup="value=value.replace(/[^\uFF00-\uFFFF]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\uFF00-\uFFFF]/g,''))"</font> </p> <p> <font color="#800080">鐢ㄦ鍒欒〃杈懼紡闄愬埗鍙兘杈撳叆鏁板瓧錛歰nkeyup="value=value.replace(/[^ \d]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"</font> </p> <p> <font color="#800080">鐢ㄦ鍒欒〃杈懼紡闄愬埗鍙兘杈撳叆鏁板瓧鍜岃嫳鏂囷細onkeyup="value=value.replace (/[\W]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"<br /><br />"^\\d+$"銆銆//闈炶礋鏁存暟錛堟鏁存暟 + 0錛?br />"^[0-9]*[1-9][0-9]*$"銆銆//姝f暣鏁?<br />"^((-\\d+)|(0+))$"銆銆//闈炴鏁存暟錛堣礋鏁存暟 + 0錛?<br />"^-[0-9]*[1-9][0-9]*$"銆銆//璐熸暣鏁?<br />"^-?\\d+$"銆銆銆銆//鏁存暟 <br />"^\\d+(\\.\\d+)?$"銆銆//闈炶礋嫻偣鏁幫紙姝f誕鐐規暟 + 0錛?<br />"^(([0-9]+\\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\\.[0-9]+)|([0-9]*[1-9][0-9]*))$"銆銆//姝f誕鐐規暟 <br />"^((-\\d+(\\.\\d+)?)|(0+(\\.0+)?))$"銆銆//闈炴嫻偣鏁幫紙璐熸誕鐐規暟 + 0錛?<br />"^(-(([0-9]+\\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\\.[0-9]+)|([0-9]*[1-9][0-9]*)))$"銆銆//璐熸誕鐐規暟 <br />"^(-?\\d+)(\\.\\d+)?$"銆銆//嫻偣鏁?<br />"^[A-Za-z]+$"銆銆//鐢?6涓嫳鏂囧瓧姣嶇粍鎴愮殑瀛楃涓?<br />"^[A-Z]+$"銆銆//鐢?6涓嫳鏂囧瓧姣嶇殑澶у啓緇勬垚鐨勫瓧絎︿覆 <br />"^[a-z]+$"銆銆//鐢?6涓嫳鏂囧瓧姣嶇殑灝忓啓緇勬垚鐨勫瓧絎︿覆 <br />"^[A-Za-z0-9]+$"銆銆//鐢辨暟瀛楀拰26涓嫳鏂囧瓧姣嶇粍鎴愮殑瀛楃涓?<br />"^\\w+$"銆銆//鐢辨暟瀛椼?6涓嫳鏂囧瓧姣嶆垨鑰呬笅鍒掔嚎緇勬垚鐨勫瓧絎︿覆 <br />"^[\\w-]+(\\.[\\w-]+)*@[\\w-]+(\\.[\\w-]+)+$"銆銆銆銆//email鍦板潃 <br />"^[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?$"銆銆//url<br /><br />"^[A-Za-z0-9_]*$"</font> </p> </span> </font> </font> </font> </font> <img src ="http://m.tkk7.com/alex/aggbug/66440.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/alex/" target="_blank">Alex</a> 2006-08-29 15:02 <a href="http://m.tkk7.com/alex/archive/2006/08/29/66440.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[zt]娣卞叆嫻呭嚭涔嬫鍒欒〃杈懼紡http://m.tkk7.com/alex/archive/2006/08/28/66316.htmlAlexAlexMon, 28 Aug 2006 15:21:00 GMThttp://m.tkk7.com/alex/archive/2006/08/28/66316.htmlhttp://m.tkk7.com/alex/comments/66316.htmlhttp://m.tkk7.com/alex/archive/2006/08/28/66316.html#Feedback0http://m.tkk7.com/alex/comments/commentRss/66316.htmlhttp://m.tkk7.com/alex/services/trackbacks/66316.html闃呰鍏ㄦ枃

Alex 2006-08-28 23:21 鍙戣〃璇勮
]]>
[zt]瑙f斁web紼嬪簭鍛樼殑杈撳叆楠岃瘉http://m.tkk7.com/alex/archive/2006/08/28/66299.htmlAlexAlexMon, 28 Aug 2006 14:20:00 GMThttp://m.tkk7.com/alex/archive/2006/08/28/66299.htmlhttp://m.tkk7.com/alex/comments/66299.htmlhttp://m.tkk7.com/alex/archive/2006/08/28/66299.html#Feedback0http://m.tkk7.com/alex/comments/commentRss/66299.htmlhttp://m.tkk7.com/alex/services/trackbacks/66299.html闃呰鍏ㄦ枃

Alex 2006-08-28 22:20 鍙戣〃璇勮
]]>
js:window.opener闂http://m.tkk7.com/alex/archive/2006/08/23/65225.htmlAlexAlexWed, 23 Aug 2006 02:54:00 GMThttp://m.tkk7.com/alex/archive/2006/08/23/65225.htmlhttp://m.tkk7.com/alex/comments/65225.htmlhttp://m.tkk7.com/alex/archive/2006/08/23/65225.html#Feedback0http://m.tkk7.com/alex/comments/commentRss/65225.htmlhttp://m.tkk7.com/alex/services/trackbacks/65225.html鍦ˋ紿楀彛涓墦寮B紿楀彛錛屽湪B紿楀彛涓搷浣滃畬浠ュ悗鍏抽棴B紿楀彛錛屽悓鏃惰嚜鍔ㄥ埛鏂癆紿楀彛


function聽closeWin(){
聽聽聽聽聽聽聽聽hasClosed聽
=true;
聽聽聽聽聽聽聽聽window.opener.location
="javascript:reloadPage();";
聽聽聽聽聽聽聽聽window.close();
聽聽聽聽}
聽聽聽聽
function聽window.onbeforeunload(){
聽聽聽聽聽聽聽聽
if(!hasClosed){
聽聽聽聽聽聽聽聽聽聽聽聽window.opener.location
="javascript:reloadPage();";
聽聽聽聽聽聽聽聽}
聽聽聽聽}

</script>

涓婇潰鐨勪唬鐮佸湪鍏抽棴B紿楀彛鐨勬椂鍊欎細鎻愮ず閿欒錛岃緙哄皯Object,姝g‘鐨勪唬鐮佸涓嬶細
function聽closeWin(){
聽聽聽聽聽聽聽聽hasClosed聽
=true;
聽聽聽聽聽聽聽聽window.opener.location
="javascript:reloadPage();";
聽聽聽聽聽聽聽聽window.opener
=null;
聽聽聽聽聽聽聽聽window.close();
聽聽聽聽}
聽聽聽聽
function聽window.onbeforeunload(){
聽聽聽聽聽聽聽聽
if(!hasClosed){//濡傛灉宸茬粡鎵ц浜哻loseWin鏂規硶錛屽垯涓嶆墽琛屾湰鏂規硶
聽聽聽聽聽聽聽聽聽聽聽聽window.opener.location
="javascript:reloadPage();";
聽聽聽聽聽聽聽聽}
聽聽聽聽}

</script>

reloadPage鏂規硶濡備笅:
function聽reloadPage()聽{
聽聽聽聽聽聽聽聽history.go(
0);
聽聽聽聽聽聽聽聽document.execCommand(
"refresh")
聽聽聽聽聽聽聽聽document.location聽
=聽document.location;
聽聽聽聽聽聽聽聽document.location.reload();
聽聽聽聽}

PS:鐢變簬闇瑕佹敮鎸佹甯稿叧闂拰寮哄埗鍏抽棴紿楀彛鏃惰兘鎹曟崏鍒頒簨浠訛紝鐢ㄤ簡鍏ㄥ眬鍙橀噺hasClosed

==============================================

琛ュ厖錛屽湪鐖剁獥鍙f槸frame鐨勬椂鍊欏湪鍒鋒柊鐖剁獥鍙g殑鏃跺欎細鍑虹幇闂:

The聽page聽cannot聽be聽refreshed聽without聽resending聽the聽information.

鍚庝慨鏀瑰涓?
window.opener.parent.document.frames.item('mainFrame').location.href聽=聽window.opener.location.href;

涓嶉渶瑕佹墽琛岃嚜甯︾殑reload()鏂規硶,娉ㄦ剰錛屼笉瑕佸啀鐢昏泧娣昏凍鍔犱笂榪欎竴鍙?

window.opener.parent.document.frames.item('mainFrame').location.reload();

========================================================================================
鏈鍚庯紝涓轟簡鍚屾椂鏀寔鍒鋒柊鏅氱埗紿楀彛鍜宖rame鐖剁獥鍙o紝浠g爜濡備笅:
function聽closeWin()聽{
聽聽聽聽聽聽聽聽hasClosed聽
=true;
聽聽聽聽
<%if(null!=聽frame){%>
聽聽聽聽聽聽聽聽window.opener.parent.document.frames.item('mainFrame').location.href聽
=聽window.opener.location.href;
聽聽聽聽
<%}else{%>
聽聽聽聽聽聽聽聽window.opener.location聽
="javascript:reloadPage();";
聽聽聽聽
<%}%>
聽聽聽聽聽聽聽聽
//window.opener.top.mainFrame.location="javascript:reloadPage();";
聽聽聽聽聽聽聽聽//self.opener.frames.mainFrame.location.reload(true);
聽聽聽聽聽聽聽聽window.opener聽=null;
聽聽聽聽聽聽聽聽window.close();
聽聽聽聽}
聽聽聽聽
function聽window.onbeforeunload(){
聽聽聽聽聽聽聽聽
if聽(!hasClosed)聽{
聽聽聽聽聽聽聽聽
<%if(null!=聽frame){%>
聽聽聽聽聽聽聽聽聽聽聽聽window.opener.parent.document.frames.item('mainFrame').location.href聽
=聽window.opener.location.href;
聽聽聽聽聽聽聽聽
<%}else{%>
聽聽聽聽聽聽聽聽聽聽聽聽window.opener.location聽
="javascript:reloadPage();";
聽聽聽聽聽聽聽聽
<%}%>
聽聽聽聽聽聽聽聽聽聽聽聽window.opener聽
=null;
聽聽聽聽聽聽聽聽}
聽聽聽聽}






Alex 2006-08-23 10:54 鍙戣〃璇勮
]]>
js錛氳幏寰梥elect鐨則ext鐨勫?/title><link>http://m.tkk7.com/alex/archive/2006/08/21/64903.html</link><dc:creator>Alex</dc:creator><author>Alex</author><pubDate>Mon, 21 Aug 2006 14:58:00 GMT</pubDate><guid>http://m.tkk7.com/alex/archive/2006/08/21/64903.html</guid><wfw:comment>http://m.tkk7.com/alex/comments/64903.html</wfw:comment><comments>http://m.tkk7.com/alex/archive/2006/08/21/64903.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/alex/comments/commentRss/64903.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/alex/services/trackbacks/64903.html</trackback:ping><description><![CDATA[key words:select text鍊?br />鑾峰緱select鐨剉alue寰堝鏄擄紝浣嗘槸濡備綍鑾峰緱鍏秚ext鐨勫唴瀹瑰憿錛屼笅闈㈢殑浠g爜鍊熷姪浜唒rototype.js搴?<br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">script聽</span><span style="color: rgb(255, 0, 0);">language</span><span style="color: rgb(0, 0, 255);">="javascript"</span><span style="color: rgb(0, 0, 255);">></span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);"><br />聽聽聽聽聽聽聽聽</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 255);">function</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">聽getSelect(selectName){<br />聽聽聽聽聽聽聽聽</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 255);">var</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">聽options聽</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">=</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">聽$(selectName).getElementsByTagName('option');<br />聽聽聽聽聽聽聽聽options聽</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">=</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">聽$A(options);<br />聽聽聽聽聽聽聽聽</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 255);">var</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">聽opt聽</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">=</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">聽options.find(聽</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 255);">function</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">(employee){<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 255);">return</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">聽(employee.value聽</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">==</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">聽$F(selectName));<br />聽聽聽聽聽聽聽聽});<br />聽聽聽聽聽聽聽聽alert(opt.innerHTML);<br />聽聽聽聽聽聽聽聽}<br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">script</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">select聽</span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="hi"</span><span style="color: rgb(255, 0, 0);">聽onchange</span><span style="color: rgb(0, 0, 255);">="getSelect('hi');"</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">option聽</span><span style="color: rgb(255, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">="01"</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">涓</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">option</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">option聽</span><span style="color: rgb(255, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">="02"</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">浜?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">option</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">option聽</span><span style="color: rgb(255, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">="03"</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">涓?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">option</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">option聽</span><span style="color: rgb(255, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">="04"</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">鍥?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">option</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">select</span><span style="color: rgb(0, 0, 255);">></span></div><br />PS: $A : 杞崲鎴愭暟緇勬牸寮?br />聽聽聽 opt.innerHTML:nodeText<br /><img src ="http://m.tkk7.com/alex/aggbug/64903.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/alex/" target="_blank">Alex</a> 2006-08-21 22:58 <a href="http://m.tkk7.com/alex/archive/2006/08/21/64903.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>js : 鎬庢牱浠庡瓙紿楀彛璋冪敤鐖剁獥鍙g殑鏂規硶http://m.tkk7.com/alex/archive/2006/08/21/64894.htmlAlexAlexMon, 21 Aug 2006 13:55:00 GMThttp://m.tkk7.com/alex/archive/2006/08/21/64894.htmlhttp://m.tkk7.com/alex/comments/64894.htmlhttp://m.tkk7.com/alex/archive/2006/08/21/64894.html#Feedback0http://m.tkk7.com/alex/comments/commentRss/64894.htmlhttp://m.tkk7.com/alex/services/trackbacks/64894.html
parent.window.show(b)
window.opener.show(b)

閮戒笉琛?姝g‘鐨勫仛娉曟槸:
opener.location="javascript:show('hello')";

PS: 鐩存帴璋冪敤鐖剁獥鍙g殑瀵硅薄涓庢涓嶅悓錛屽弬鑰冭繖綃? 鐢╦avaScript鎿嶄綔涓や釜欏甸潰



Alex 2006-08-21 21:55 鍙戣〃璇勮
]]>
js涓幏鍙杛adio鐨勫?/title><link>http://m.tkk7.com/alex/archive/2006/08/21/64861.html</link><dc:creator>Alex</dc:creator><author>Alex</author><pubDate>Mon, 21 Aug 2006 11:12:00 GMT</pubDate><guid>http://m.tkk7.com/alex/archive/2006/08/21/64861.html</guid><wfw:comment>http://m.tkk7.com/alex/comments/64861.html</wfw:comment><comments>http://m.tkk7.com/alex/archive/2006/08/21/64861.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://m.tkk7.com/alex/comments/commentRss/64861.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/alex/services/trackbacks/64861.html</trackback:ping><description><![CDATA[key words: radio鐨勫?Form<br /><br />鍦╦sp涓幏鍙杛adio鐨勫煎緢瀹規槗錛岀洿鎺?request.getParameter("myRadio");<br />浣嗘槸鍦╦s涓笉琛岋紝鎴戣瘯楠屼簡涓涓嬶紝濡傛灉閫夋嫨絎竴涓病闂錛屼絾鏄綘閫夌浜屼釜絎笁涓殑璇濆氨鍑虹幇undefined.鍔炴硶濡備笅:<br /><br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);">function</span><span style="color: rgb(0, 0, 0);">聽Foo()<br />{<br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);">var</span><span style="color: rgb(0, 0, 0);">聽selectedIndex聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">;<br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);">var</span><span style="color: rgb(0, 0, 0);">聽form1聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽document.getElementById(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">form1</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);">var</span><span style="color: rgb(0, 0, 0);">聽i聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">;<br />聽聽聽聽<br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);">聽(i</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">;聽i</span><span style="color: rgb(0, 0, 0);"><</span><span style="color: rgb(0, 0, 0);">form1.r.length;聽i</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽{<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">聽(form1.r[i].checked)<br />聽聽聽聽聽聽聽聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽selectedIndex聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽i;<br />聽聽聽聽聽聽聽聽聽聽聽聽alert(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">鎮ㄩ夋嫨欏圭殑聽value聽鏄細</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽form1.r[i].value);<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">break</span><span style="color: rgb(0, 0, 0);">;<br />聽聽聽聽聽聽聽聽}<br />聽聽聽聽}<br />聽聽聽聽<br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">聽(selectedIndex聽</span><span style="color: rgb(0, 0, 0);"><</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽{<br />聽聽聽聽聽聽聽聽alert(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">鎮ㄦ病鏈夐夋嫨浠諱綍欏?/span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽}<br />}</span></div><br /><br /><img src ="http://m.tkk7.com/alex/aggbug/64861.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/alex/" target="_blank">Alex</a> 2006-08-21 19:12 <a href="http://m.tkk7.com/alex/archive/2006/08/21/64861.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>textarea鐨勫急鏅洪棶棰?/title><link>http://m.tkk7.com/alex/archive/2006/08/15/63634.html</link><dc:creator>Alex</dc:creator><author>Alex</author><pubDate>Tue, 15 Aug 2006 03:08:00 GMT</pubDate><guid>http://m.tkk7.com/alex/archive/2006/08/15/63634.html</guid><wfw:comment>http://m.tkk7.com/alex/comments/63634.html</wfw:comment><comments>http://m.tkk7.com/alex/archive/2006/08/15/63634.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/alex/comments/commentRss/63634.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/alex/services/trackbacks/63634.html</trackback:ping><description><![CDATA[key words : textarea絀烘牸闂 <br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">textarea聽</span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="parentRemark"</span><span style="color: rgb(255, 0, 0);">聽rows</span><span style="color: rgb(0, 0, 255);">="10"</span><span style="color: rgb(255, 0, 0);">聽cols</span><span style="color: rgb(0, 0, 255);">="80"</span><span style="color: rgb(255, 0, 0);">聽class</span><span style="color: rgb(0, 0, 255);">="editor"</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><%</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">=</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 128, 0);">rem</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 128, 0);">[7]==null?"":rem[7]%><br /></textarea></span></div><br />鐚滅寽榪欎釜textarea浼氭湁浠涔堥棶棰?<br /><br />鏁堟灉濡備笅:<br /><br /><img src="http://m.tkk7.com/images/blogjava_net/alex/images/jiazhang.png" alt="jiazhang.png" border="0" height="250" width="736" /><br /><br />鏄笉鏄緢濂囨紝鍝潵鐨勭┖鏍煎晩錛岃繕浠ヤ負浠庢暟鎹簱涓彇鍑虹殑鏁版嵁鏈夌┖鏍鹼紝媯鏌ヤ篃涓嶆槸錛屽悗鏉ユ墠鐭ラ亾錛屽師鏉ユ槸textarea鎹㈣鎯瑰緱紲?涓嶆崲琛屽氨OK浜?br /><br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">textarea聽</span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="parentRemark"</span><span style="color: rgb(255, 0, 0);">聽rows</span><span style="color: rgb(0, 0, 255);">="10"</span><span style="color: rgb(255, 0, 0);">聽cols</span><span style="color: rgb(0, 0, 255);">="80"</span><span style="color: rgb(255, 0, 0);">聽class</span><span style="color: rgb(0, 0, 255);">="editor"</span><span style="color: rgb(0, 0, 255);">></span><span style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><%</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">=</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 128, 0);">rem</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 128, 0);">[7]==null?"":rem[7]%></textarea></span></div><br /><img src ="http://m.tkk7.com/alex/aggbug/63634.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/alex/" target="_blank">Alex</a> 2006-08-15 11:08 <a href="http://m.tkk7.com/alex/archive/2006/08/15/63634.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[杞琞js瀹炵幇鎹曟崏閫鍑烘祻瑙堝櫒琛屼負http://m.tkk7.com/alex/archive/2006/07/20/59137.htmlAlexAlexThu, 20 Jul 2006 02:50:00 GMThttp://m.tkk7.com/alex/archive/2006/07/20/59137.htmlhttp://m.tkk7.com/alex/comments/59137.htmlhttp://m.tkk7.com/alex/archive/2006/07/20/59137.html#Feedback0http://m.tkk7.com/alex/comments/commentRss/59137.htmlhttp://m.tkk7.com/alex/services/trackbacks/59137.html
鏈夋椂鍦ㄧ敤鎴穝ession綆$悊鏃訛紝闇瑕佽窡韙細璇濈姸鎬侊紝姣斿褰撳墠鍦ㄧ嚎鐢ㄦ埛錛屽鏋滅敤鎴烽潪姝e父閫鍑猴紝闇瑕佺煡閬撱?br />
鐢╦s鎺у埗嫻忚鍣ㄧ殑鍏抽棴鏄竴涓緟鍔╃殑鎵嬫錛屽綋鐒朵篃鍙互璁劇疆session鐨勬湁鏁堟湡錛屼笉榪囦笉澶熷強鏃躲?br />
js浠g爜濡備笅:

<html>
<script聽language="javascript">
<!--
var聽s="close";聽
function聽window.onunload(){聽
聽聽聽聽
if(s=="fresh")聽
聽聽聽聽聽聽聽聽
if(window.screenLeft>10000){alert('鹿脴鹵脮');}
聽聽聽聽聽聽聽聽
else{alert('脣壟脨脗');}聽
聽聽聽聽
else聽alert('鹿脴鹵脮');聽
}聽
function聽window.onbeforeunload()
{聽
聽聽聽聽s
="fresh";聽
}聽
-->
</script>
</html>



Alex 2006-07-20 10:50 鍙戣〃璇勮
]]>
宸偣琚仐蹇樼殑鍏冪礌:cookie-鐢╟ookie璁板綍鐢ㄦ埛鐨勫巻鍙茶涓?/title><link>http://m.tkk7.com/alex/archive/2006/07/05/56832.html</link><dc:creator>Alex</dc:creator><author>Alex</author><pubDate>Wed, 05 Jul 2006 09:39:00 GMT</pubDate><guid>http://m.tkk7.com/alex/archive/2006/07/05/56832.html</guid><wfw:comment>http://m.tkk7.com/alex/comments/56832.html</wfw:comment><comments>http://m.tkk7.com/alex/archive/2006/07/05/56832.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://m.tkk7.com/alex/comments/commentRss/56832.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/alex/services/trackbacks/56832.html</trackback:ping><description><![CDATA[key words: cookie 淇濈暀鍘嗗彶璁板綍 鐧婚檰璁板綍<br /><br />寰堝鏃跺欑敤session瑙夊緱鎸烘柟渚跨殑錛屼粖澶╃獊鐒跺彂鐜拌嚜宸辯珶鐒跺嚑涔庢病鐢ㄨ繃cookie錛屽懙鍛碉紝鏈夌偣鎰忔濄傛濂界鍒頒竴涓櫥闄嗛〉闈紝闇瑕佺敤鎴烽夋嫨绔欑偣綾誨瀷錛岃寰楁瘡嬈¢兘璁╃敤鎴烽夋嫨鏈夌偣涓嶅悎鐞嗭紝姣曠珶涓涓敤鎴峰父鐢ㄧ殑灝變竴涓紝鎵浠ュ喅瀹氱敤cookie璁板綍涓嬭繖涓珯鐐癸紝涓嬫鐧婚檰鐨勬椂鍊欏彲浠ョ洿鎺ユ樉紺?<br /><br />鏁堟灉濡備笅:<br /><img src="http://m.tkk7.com/images/blogjava_net/alex/cookie/siteCookie.jpg" alt="绔欑偣cookie" title="绔欑偣cookie" border="0" height="151" width="211" /><br /><br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 128, 0);">/**</span><span style="color: rgb(0, 128, 0);"><br />聽聽聽聽聽*聽浠巆ookie閲岃鍙栨寚瀹歂ame聽瀵瑰簲鐨勫?br />聽聽聽聽聽*聽濡傛灉娌℃湁榪斿洖絀郝爊ull<br />聽聽聽聽聽*聽</span><span style="color: rgb(128, 128, 128);">@param</span><span style="color: rgb(0, 128, 0);">聽cookieName<br />聽聽聽聽聽*聽</span><span style="color: rgb(128, 128, 128);">@param</span><span style="color: rgb(0, 128, 0);">聽request<br />聽聽聽聽 * </span><span style="color: rgb(0, 128, 0);"></span><span style="color: rgb(128, 128, 128);">@param</span><span style="color: rgb(0, 128, 0);"> decode :緙栫爜</span><br /><span style="color: rgb(0, 128, 0);">聽聽聽聽聽*聽</span><span style="color: rgb(128, 128, 128);">@return</span><span style="color: rgb(0, 128, 0);">聽聽String<br />聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">*/</span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);">聽String聽getCookieValue(String聽cookieName,聽HttpServletRequest聽request,String聽decode)聽{<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);">聽cookieName聽</span><span style="color: rgb(0, 0, 0);">||</span><span style="color: rgb(0, 0, 0);">聽cookieName.trim().length()聽</span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">)聽</span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">""</span><span style="color: rgb(0, 0, 0);">;<br />聽聽聽聽聽聽聽聽Cookie聽cookies[]聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽request.getCookies();<br />聽聽聽聽聽聽聽聽Cookie聽sCookie聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">;<br />聽聽聽聽聽聽聽聽String聽sname聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">;<br />聽聽聽聽聽聽聽聽String聽svalue聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">;<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">聽(</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">!=</span><span style="color: rgb(0, 0, 0);">聽cookies聽</span><span style="color: rgb(0, 0, 0);">&&</span><span style="color: rgb(0, 0, 0);">聽cookies.length聽</span><span style="color: rgb(0, 0, 0);">></span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">)聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);">聽(</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);">聽i聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">;聽i聽</span><span style="color: rgb(0, 0, 0);"><</span><span style="color: rgb(0, 0, 0);">聽cookies.length;聽i</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">)聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sCookie聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽cookies[i];<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sname聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽sCookie.getName();<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">聽(cookieName.equals(sname))聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">try</span><span style="color: rgb(0, 0, 0);">聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽svalue聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽java.net.URLDecoder.decode(sCookie.getValue(),decode);<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽}聽</span><span style="color: rgb(0, 0, 255);">catch</span><span style="color: rgb(0, 0, 0);">聽(UnsupportedEncodingException聽e)聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽e.printStackTrace();聽聽<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">break</span><span style="color: rgb(0, 0, 0);">;<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);">聽svalue聽;<br />聽聽聽聽}<br /><br />聽聽聽聽</span><span style="color: rgb(0, 128, 0);">/**</span><span style="color: rgb(0, 128, 0);"><br />聽聽聽聽聽*聽璁劇疆cookie<br />聽聽聽聽聽*聽</span><span style="color: rgb(128, 128, 128);">@param</span><span style="color: rgb(0, 128, 0);">聽cookieName<br />聽聽聽聽聽*聽</span><span style="color: rgb(128, 128, 128);">@param</span><span style="color: rgb(0, 128, 0);">聽cookieValue<br />聽聽聽聽聽*聽</span><span style="color: rgb(128, 128, 128);">@param</span><span style="color: rgb(0, 128, 0);">聽maxAge<br />聽聽聽聽聽*聽</span><span style="color: rgb(128, 128, 128);">@param</span><span style="color: rgb(0, 128, 0);">聽response<br /></span><span style="color: rgb(0, 128, 0);">聽聽聽聽 * </span><span style="color: rgb(0, 128, 0);"></span><span style="color: rgb(128, 128, 128);">@param</span><span style="color: rgb(0, 128, 0);"></span><span style="color: rgb(0, 0, 0);">encode </span><span style="color: rgb(0, 128, 0);">:緙栫爜</span><br /><span style="color: rgb(0, 128, 0);">聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">*/</span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">void</span><span style="color: rgb(0, 0, 0);">聽setCookieValue(String聽cookieName,String聽cookieValue,<br /></span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);">聽maxAge,HttpServletResponse聽response,String聽encode)聽{<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);">聽cookieName聽</span><span style="color: rgb(0, 0, 0);">||</span><span style="color: rgb(0, 0, 0);">聽cookieName.trim().length()聽</span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">)聽</span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);">聽;<br />聽聽聽聽聽聽聽聽Cookie聽cookie聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">;<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">try</span><span style="color: rgb(0, 0, 0);">聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽cookie聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">聽Cookie(cookieName,聽java.net.URLEncoder.encode(cookieValue,encode));<br />聽聽聽聽聽聽聽聽}聽</span><span style="color: rgb(0, 0, 255);">catch</span><span style="color: rgb(0, 0, 0);">聽(UnsupportedEncodingException聽e)聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽e.printStackTrace();<br />聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽cookie.setMaxAge(maxAge);<br />聽聽聽聽聽聽聽聽response.addCookie(cookie);<br />聽聽聽聽}</span></div><br /><img src ="http://m.tkk7.com/alex/aggbug/56832.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/alex/" target="_blank">Alex</a> 2006-07-05 17:39 <a href="http://m.tkk7.com/alex/archive/2006/07/05/56832.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>prototype.js灝忚http://m.tkk7.com/alex/archive/2006/06/18/53654.htmlAlexAlexSun, 18 Jun 2006 14:22:00 GMThttp://m.tkk7.com/alex/archive/2006/06/18/53654.htmlhttp://m.tkk7.com/alex/comments/53654.htmlhttp://m.tkk7.com/alex/archive/2006/06/18/53654.html#Feedback0http://m.tkk7.com/alex/comments/commentRss/53654.htmlhttp://m.tkk7.com/alex/services/trackbacks/53654.html
Prototype.js--Javascript緙栧啓鑰呯殑灝忓啗鍒




Alex 2006-06-18 22:22 鍙戣〃璇勮
]]>
鍒╃敤css瀹炵幇琛ㄦ牸鐨勯殧琛屾崲鑹?/title><link>http://m.tkk7.com/alex/archive/2006/06/15/53057.html</link><dc:creator>Alex</dc:creator><author>Alex</author><pubDate>Thu, 15 Jun 2006 10:14:00 GMT</pubDate><guid>http://m.tkk7.com/alex/archive/2006/06/15/53057.html</guid><wfw:comment>http://m.tkk7.com/alex/comments/53057.html</wfw:comment><comments>http://m.tkk7.com/alex/archive/2006/06/15/53057.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://m.tkk7.com/alex/comments/commentRss/53057.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/alex/services/trackbacks/53057.html</trackback:ping><description><![CDATA[key words: css聽 闅旇鎹㈣壊銆鎺у埗琛ㄦ牸銆銆浜ゆ浛棰滆壊<br /><br />鏈榪戠敤鍒頒笉灝慶ss鐨勪笢瑗匡紝鍙戠幇鐢╟ss鏄彲浠ョ渷涓嶅皯楹葷儲錛岀壒鍒洿鏀規晥鏋溿?br /><br />google浜嗕竴綃囥<a target="_blank" class="" title="" ><font class="headertitle"><span id="ctq">鍒╃敤CSS鎺у埗琛ㄦ牸鐨勪氦鏇塊鑹?/span></font></a><br /><br />涓嬮潰鏄疄鐜扮殑浠g爜:<br /><br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">style聽</span><span style="color: rgb(255, 0, 0);">type</span><span style="color: rgb(0, 0, 255);">="text/css"</span><span style="color: rgb(0, 0, 255);">></span><span style="background-color: rgb(245, 245, 245); color: rgb(128, 0, 0);"><br /><!--<br />tr聽</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">{</span><span style="background-color: rgb(245, 245, 245); color: rgb(255, 0, 0);">background-color</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">:</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 255);">expression((this.sectionRowIndex==0)?"":<br />(this.sectionRowIndex%2==0)?"red":"blue")</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">}</span><span style="background-color: rgb(245, 245, 245); color: rgb(128, 0, 0);"><br />--><br /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">style</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">HEAD</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">table</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">table</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span></div><br />鍏抽敭灝辨槸榪欎竴鍙?<br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);">tr聽{background-color:expression((this.sectionRowIndex==0)?"":<br />(this.sectionRowIndex%2==0)?"red":"blue")}</span></div><br /><br />瀵逛簬td鐨勬帶鍒跺涓?<br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">style聽</span><span style="color: rgb(255, 0, 0);">type</span><span style="color: rgb(0, 0, 255);">="text/css"</span><span style="color: rgb(0, 0, 255);">></span><span style="background-color: rgb(245, 245, 245); color: rgb(128, 0, 0);"><br /><!--<br />tr聽</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">{</span><span style="background-color: rgb(245, 245, 245); color: rgb(255, 0, 0);">background-color</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">:</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 255);">expression((this.sectionRowIndex%2==0)?"red":"blue")</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">}</span><span style="background-color: rgb(245, 245, 245); color: rgb(128, 0, 0);"><br />td聽</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">{</span><span style="background-color: rgb(245, 245, 245); color: rgb(255, 0, 0);">background-color</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">:</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 255);">expression((this.cellIndex%2==0)?"":((this.parentElement.sectionRowIndex%2==0)?"green":"yellow"))</span><span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">}</span><span style="background-color: rgb(245, 245, 245); color: rgb(128, 0, 0);"><br />--><br /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">style</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">HEAD</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">table</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">聽/td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">聽/td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">聽/td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">聽/td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">聽/td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">><</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">絎?琛?/span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">td</span><span style="color: rgb(0, 0, 255);">></</span><span style="color: rgb(128, 0, 0);">tr</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">table</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /></span></div><br />鍗?span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 255);">cellIndex銆<br /><br />鍙?鍜屾暟緇勪竴鏍鳳紝絎竴琛屼粠0寮濮?br /><br /><br /><br />浣嗘効瀵逛綘鏈夌敤.聽 :)<br /><br /><br /><br /></span><img src ="http://m.tkk7.com/alex/aggbug/53057.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/alex/" target="_blank">Alex</a> 2006-06-15 18:14 <a href="http://m.tkk7.com/alex/archive/2006/06/15/53057.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>jsp瀹炵幇鏂囦歡涓嬭澆涓庝腑鏂囨枃浠跺悕涔辯爜闂瑙e喅http://m.tkk7.com/alex/archive/2006/06/14/52855.htmlAlexAlexWed, 14 Jun 2006 14:48:00 GMThttp://m.tkk7.com/alex/archive/2006/06/14/52855.htmlhttp://m.tkk7.com/alex/comments/52855.htmlhttp://m.tkk7.com/alex/archive/2006/06/14/52855.html#Feedback13http://m.tkk7.com/alex/comments/commentRss/52855.htmlhttp://m.tkk7.com/alex/services/trackbacks/52855.html
鏂囦歡涓婁紶鍙傜湅: 榪欓噷

紕板埌鏂囦歡涔辯爜錛実oogle浜嗕竴涓嬶紝鍙戠幇榪欑瘒鏂囩珷榪樹笉璧?br />
鎽樺綍濡備笅:


涔嬪墠,鍐欒繃涓涓狣ownload.jsp鏂囦歡,鍙互瑙e喅涓嬭澆鏂囦歡涔辯爜闂(璇稿:DOC,XSL鏂囦歡絳夌瓑).
鍚庢潵鍙戠幇,閬囧埌涓枃鍚嶇殑鏂囦歡鐨勬椂鍊?鏂囦歡涓嬭澆灝嗕細鎶ラ敊~~~~
浠婂ぉ,閫氳繃鏀瑰啓鍘烡ownload.jsp鏂囦歡宸茬粡褰誨簳瑙e喅浜嗚繖涓棶棰榽
鐜板湪,鎶婁竴鏁村鐨勬枃浠朵笂浼犱笅杞界殑鏂規硶緇欒創鍑烘潵~~~浠ヤ究澶у鍊熼壌!~!~!~!~!聽
浣滆?鍙ゅ焹鍙婃硶鑰?br />
download.jsp鏂囦歡
---------------------------------------------------------
<%
聽聽java.io.BufferedInputStream聽bis
=null;
聽聽java.io.BufferedOutputStream聽聽bos
=null;
try{
String聽filename=request.getParameter("filename");
聽聽聽聽聽聽聽聽聽聽聽聽聽filename
=newString(filename.getBytes("iso8859-1"),"gb2312");
聽response.setContentType(
"application/x-msdownload");
聽response.setHeader(
"Content-disposition","attachment;聽filename="+newString(filename.getBytes("gb2312"),"iso8859-1"));
聽bis聽
=new聽java.io.BufferedInputStream(new聽java.io.FileInputStream(config.getServletContext().getRealPath("files/"+聽filename)));
聽bos
=new聽java.io.BufferedOutputStream(response.getOutputStream());聽
byte[]聽buff聽=newbyte[2048];
int聽bytesRead;
while(-1聽!=聽(bytesRead聽=聽bis.read(buff,聽0,聽buff.length)))聽{
聽聽bos.write(buff,
0,bytesRead);
聽}
}
catch(Exception聽e){
聽e.printStackTrace();
}
finally聽{
if聽(bis聽!=null)bis.close();
if聽(bos聽!=null)bos.close();
}
%>


娉ㄦ剰錛屽叧閿氨鏄?span style="background-color: rgb(245, 245, 245); color: rgb(0, 0, 0);">setHeader閲岀殑filename闇瑕侀噸鏂扮紪鐮?鏍煎紡鏄疘SO-8859-1灝憋集錛簡

浠ヤ笅鏄垜鑷繁欏圭洰涓敤鍒扮殑浠g爜鐗囨柇錛屼緵鍙傝?

list.jsp: 鏄劇ず闄勪歡鍚嶇О鐨勯〉闈?br />
<tr>
聽聽聽聽聽聽聽聽聽聽聽聽
<td聽height="25"聽class="tdcor">闄?/span>&nbsp;&nbsp;浠?/span>&nbsp;</td>
聽聽聽聽聽聽聽聽聽聽聽聽
<td聽colspan="3"聽height=50>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
<%
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
if聽(null聽!=聽publish.getAttatchFilename()聽&&
publish.getAttatchFilename().length()聽
>0)聽{
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
%>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
<a聽href="publish_do.jsp?method=download&fileName=
<%=URLEncoder.encode(publish.getAttatchFilename(),"
GBK")%>">
<%
=URLDecoder.decode(publish.getAttatchFilename(),"GBK")%></a>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
<%
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽}
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
%>
聽聽聽聽聽聽聽聽聽聽聽聽
</td>
</tr>

download.jsp:涓嬭澆欏甸潰
elseif聽(null!=聽method聽&&聽method.equals("download"))聽{//涓嬭澆闄勪歡

聽聽聽聽聽聽聽聽String聽fileName聽
=聽request.getParameter("fileName");
聽聽聽聽聽聽聽聽File聽file聽
=new聽File(Constants.PUBLISH_FILE_PATH聽+"/"+聽URLDecoder.decode(fileName,"GBK"));
聽聽聽聽聽聽聽聽response.reset();
聽聽聽聽聽聽聽聽response.setContentType(
"application/octet-stream;聽charset=GBK");
聽聽聽聽聽聽聽聽response.addHeader(
"Content-Disposition",聽"attachment;聽filename="+聽CourseDetailBusiness.transfer(URLDecoder.decode(fileName,"GBK"),"GBK","ISO-8859-1"));
聽聽聽聽聽聽聽聽response.setContentLength((
int)聽file.length());

聽聽聽聽聽聽聽聽
byte[]聽buffer聽=newbyte[4096];
聽聽聽聽聽聽聽聽BufferedOutputStream聽output聽
=null;
聽聽聽聽聽聽聽聽BufferedInputStream聽input聽
=null;

聽聽聽聽聽聽聽聽
//聽鍐欑紦鍐插尯錛?/span>
聽聽聽聽聽聽聽聽try聽{
聽聽聽聽聽聽聽聽聽聽聽聽output聽
=new聽BufferedOutputStream(response.getOutputStream());
聽聽聽聽聽聽聽聽聽聽聽聽input聽
=new聽BufferedInputStream(new聽FileInputStream(file));

聽聽聽聽聽聽聽聽聽聽聽聽
int聽n聽=聽(-1);
聽聽聽聽聽聽聽聽聽聽聽聽
while聽((n聽=聽input.read(buffer,聽0,聽4096))聽>-1)聽{
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽output.write(buffer,聽
0,聽n);
聽聽聽聽聽聽聽聽聽聽聽聽}
聽聽聽聽聽聽聽聽聽聽聽聽response.flushBuffer();
聽聽聽聽聽聽聽聽}
聽聽聽聽聽聽聽聽
catch聽(Exception聽e)聽{
聽聽聽聽聽聽聽聽}聽
//聽maybe聽user聽cancelled聽download
聽聽聽聽聽聽聽聽finally聽{
聽聽聽聽聽聽聽聽聽聽聽聽
if聽(input聽!=null)聽input.close();
聽聽聽聽聽聽聽聽聽聽聽聽
if聽(output聽!=null)聽output.close();
聽聽聽聽聽聽聽聽}


璇存槑:
錛戙傛枃浠跺悕鍦ㄦ暟鎹簱涓繚瀛樼殑緙栫爜涓篣RLEncode
2.鍦╨ist.jsp鏄劇ず鐨勬椂鍊欏浜嗕竴嬈ncode,涓嶇煡涓轟粈涔堬紝涓峞ncode涓嬈¤繕涓嶈錛屽疄闄呬笂鏄浜屾緙栫爜浜?br />



Alex 2006-06-14 22:48 鍙戣〃璇勮
]]>
紲炲鐨刯avaScript瀹炵幇鐨勬棤闇鏈嶅姟鍣ㄦ敮鎸佺殑WIKIhttp://m.tkk7.com/alex/archive/2006/06/11/52004.htmlAlexAlexSun, 11 Jun 2006 07:38:00 GMThttp://m.tkk7.com/alex/archive/2006/06/11/52004.htmlhttp://m.tkk7.com/alex/comments/52004.htmlhttp://m.tkk7.com/alex/archive/2006/06/11/52004.html#Feedback3http://m.tkk7.com/alex/comments/commentRss/52004.htmlhttp://m.tkk7.com/alex/services/trackbacks/52004.html闃呰鍏ㄦ枃

Alex 2006-06-11 15:38 鍙戣〃璇勮
]]>
[杞琞CSS鍏ラ棬http://m.tkk7.com/alex/archive/2006/06/05/50425.htmlAlexAlexMon, 05 Jun 2006 01:53:00 GMThttp://m.tkk7.com/alex/archive/2006/06/05/50425.htmlhttp://m.tkk7.com/alex/comments/50425.htmlhttp://m.tkk7.com/alex/archive/2006/06/05/50425.html#Feedback0http://m.tkk7.com/alex/comments/commentRss/50425.htmlhttp://m.tkk7.com/alex/services/trackbacks/50425.htmlkey words:聽 css


杞嚜:http://www.blueidea.com/tech/site/2004/1928.asp

鍦ㄤ簡瑙HTML浠g爜瑙勮寖鍚庯紝鎴戜滑灝辮榪涜CSS甯冨眬銆傞鍏堝厛浠嬬粛涓浜汣SS鐨勫叆闂ㄧ煡璇嗐傚鏋滀綘宸茬粡寰堢啛鎮変簡錛屽彲浠ヨ煩榪囪繖涓鑺傦紝鐩存帴榪涘叆涓嬩竴鑺傘?/p>

CSS鏄疌ascading Style Sheets(灞傚彔鏍峰紡琛?鐨勭緝鍐欍傛槸涓縐嶅web鏂囨。娣誨姞鏍峰紡鐨勭畝鍗曟満鍒訛紝灞炰簬琛ㄧ幇灞傜殑甯冨眬璇█銆?/p>

1.鍩烘湰璇硶瑙勮寖

鍒嗘瀽涓涓吀鍨婥SS鐨勮鍙ワ細

p聽{COLOR:#FF0000;BACKGROUND:#FFFFFF}

  • 鍏朵腑"p"鎴戜滑縐頒負"閫夋嫨鍣?(selectors)錛屾寚鏄庢垜浠緇?p"瀹氫箟鏍峰紡錛?/li>
  • 鏍峰紡澹版槑鍐欏湪涓瀵瑰ぇ鎷彿"{}"涓紱
  • COLOR鍜孊ACKGROUND縐頒負"灞炴?(property)錛屼笉鍚屽睘鎬т箣闂寸敤鍒嗗彿";"鍒嗛殧錛?/li>
  • "#FF0000"鍜?#FFFFFF"鏄睘鎬х殑鍊?value)銆?/li>

2.棰滆壊鍊?/h3>

棰滆壊鍊煎彲浠ョ敤RGB鍊煎啓錛屼緥濡傦細color : rgb(255,0,0)錛屼篃鍙互鐢ㄥ崄鍏繘鍒跺啓錛屽氨璞′笂闈緥瀛?span class="code">color:#FF0000銆傚鏋滃崄鍏繘鍒跺兼槸鎴愬閲嶅鐨勫彲浠ョ畝鍐欙紝鏁堟灉涓鏍楓備緥濡?#FF0000鍙互鍐欐垚#F00銆備絾濡傛灉涓嶉噸澶嶅氨涓嶅彲浠ョ畝鍐欙紝渚嬪#FC1A1B蹇呴』鍐欐弧鍏綅銆?/p>

3.瀹氫箟瀛椾綋

web鏍囧噯鎺ㄨ崘濡備笅瀛椾綋瀹氫箟鏂規硶錛?/p>

body聽{聽font-family聽:聽"Lucida聽Grande",聽Verdana,聽Lucida,聽Arial,聽Helvetica,聽瀹嬩綋,sans-serif;}

  • 瀛椾綋鎸夌収鎵鍒楀嚭鐨勯『搴忛夌敤銆傚鏋滅敤鎴風殑璁$畻鏈哄惈鏈塋ucida Grande瀛椾綋錛屾枃妗e皢琚寚瀹氫負Lucida Grande銆傛病鏈夌殑璇濓紝灝辮鎸囧畾涓篤erdana瀛椾綋錛屽鏋滀篃娌℃湁Verdana錛屽氨鎸囧畾涓篖ucida瀛椾綋錛屼緷姝ょ被鎺紝錛?/li>
  • Lucida Grande瀛椾綋閫傚悎Mac OS X錛?/li>
  • Verdana瀛椾綋閫傚悎鎵鏈夌殑Windows緋葷粺錛?/li>
  • Lucida閫傚悎UNIX鐢ㄦ埛
  • "瀹嬩綋"閫傚悎涓枃綆浣撶敤鎴?
  • 濡傛灉鎵鍒楀嚭鐨勫瓧浣撻兘涓嶈兘鐢紝鍒欓粯璁ょ殑sans-serif瀛椾綋鑳戒繚璇佽皟鐢?

4.緹ら夋嫨鍣?/h3>

褰撳嚑涓厓绱犳牱寮忓睘鎬т竴鏍鋒椂錛屽彲浠ュ叡鍚岃皟鐢ㄤ竴涓0鏄庯紝鍏冪礌涔嬮棿鐢ㄩ楀彿鍒嗛殧錛岋細

p,聽td,聽li聽{聽font-size聽:聽12px聽;}

5.媧劇敓閫夋嫨鍣?/h3>

鍙互浣跨敤媧劇敓閫夋嫨鍣ㄧ粰涓涓厓绱犻噷鐨勫瓙鍏冪礌瀹氫箟鏍峰紡錛屼緥濡傝繖鏍鳳細

li聽strong聽{聽font-style聽:聽italic;聽font-weight聽:聽normal錛?/span>}

灝辨槸緇檒i涓嬮潰鐨勫瓙鍏冪礌strong瀹氫箟涓涓枩浣撲笉鍔犵矖鐨勬牱寮忋?/p>

6.id閫夋嫨鍣?/h3>

鐢–SS甯冨眬涓昏鐢ㄥ眰"div"鏉ュ疄鐜幫紝鑰宒iv鐨勬牱寮忛氳繃"id閫夋嫨鍣?鏉ュ畾涔夈備緥濡傛垜浠鍏堝畾涔変竴涓眰

<div id="menubar"></div>

鐒跺悗鍦ㄦ牱寮忚〃閲岃繖鏍峰畾涔夛細

#menubar聽{MARGIN:聽0px;BACKGROUND:聽#FEFEFE;COLOR:聽#666;}

鍏朵腑"menubar"鏄綘鑷繁瀹氫箟鐨刬d鍚嶇О銆傛敞鎰忓湪鍓嶉潰鍔?#"鍙楓?/p>

id閫夋嫨鍣ㄤ篃鍚屾牱鏀寔媧劇敓錛屼緥濡傦細

#menubar聽p聽{聽text-align聽:聽right;聽margin-top聽:聽10px;}

榪欎釜鏂規硶涓昏鐢ㄦ潵瀹氫箟灞傚拰閭d簺姣旇緝澶嶆潅錛屾湁澶氫釜媧劇敓鐨勫厓绱犮?/p>

6.綾誨埆閫夋嫨鍣?/h3>

鍦–SS閲岀敤涓涓偣寮澶磋〃紺虹被鍒夋嫨鍣ㄥ畾涔夛紝渚嬪錛?/p>

.14px聽{color聽:聽#f60聽;font-size:14px聽;}

鍦ㄩ〉闈腑錛岀敤class="綾誨埆鍚?鐨勬柟娉曡皟鐢細

<span class="14px">14px澶у皬鐨勫瓧浣?lt;/span>

榪欎釜鏂規硶姣旇緝綆鍗曠伒媧伙紝鍙互闅忔椂鏍規嵁欏甸潰闇瑕佹柊寤哄拰鍒犻櫎銆?/p>

7.瀹氫箟閾炬帴鐨勬牱寮?/h3>

CSS涓敤鍥涗釜浼被鏉ュ畾涔夐摼鎺ョ殑鏍峰紡錛屽垎鍒槸錛歛:link銆乤:visited銆乤:hover鍜宎 : active錛屼緥濡傦細

a:link{font-weight聽:聽bold聽;text-decoration聽:聽none聽;color聽:聽#c00聽;}
a:visited聽
{font-weight聽:聽bold聽;text-decoration聽:聽none聽;color聽:聽#c30聽;}
a:hover聽
{font-weight聽:聽bold聽;text-decoration聽:聽underline聽;color聽:聽#f60聽;}
a:active聽
{font-weight聽:聽bold聽;text-decoration聽:聽none聽;color聽:聽#90聽;}

浠ヤ笂璇彞鍒嗗埆瀹氫箟浜?閾炬帴銆佸凡璁塊棶榪囩殑閾炬帴銆侀紶鏍囧仠鍦ㄤ笂鏂規椂銆佺偣涓嬮紶鏍囨椂"鐨勬牱寮忋傛敞鎰忥紝蹇呴』鎸変互涓婇『搴忓啓錛屽惁鍒欐樉紺哄彲鑳藉拰浣犻鎯崇殑涓嶄竴鏍楓傝浣忓畠浠殑欏哄簭鏄淟VHA鈥濄?/p>

鍛靛懙錛岀湅浜嗚繖涔堝錛屾湁鐐瑰ご鏅曞惂錛屽疄闄呬笂CSS鐨勮娉曡鑼冭繕鏈夊緢澶氾紝榪欓噷鍒楃殑鍙槸涓浜涘父鐢ㄧ殑錛屾瘯绔熸垜浠槸寰簭娓愯繘錛屼笉鍙兘涓鍙e悆鎴愯儢瀛?)



Alex 2006-06-05 09:53 鍙戣〃璇勮
]]>鏁寸悊錛歸eb鎵撳嵃http://m.tkk7.com/alex/archive/2006/05/26/48424.htmlAlexAlexFri, 26 May 2006 15:08:00 GMThttp://m.tkk7.com/alex/archive/2006/05/26/48424.htmlhttp://m.tkk7.com/alex/comments/48424.htmlhttp://m.tkk7.com/alex/archive/2006/05/26/48424.html#Feedback0http://m.tkk7.com/alex/comments/commentRss/48424.htmlhttp://m.tkk7.com/alex/services/trackbacks/48424.htmlfunction聽SaveD...  闃呰鍏ㄦ枃

Alex 2006-05-26 23:08 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 久久精品一本到99热免费| 亚洲AV永久无码天堂影院| 蜜臀AV免费一区二区三区| 丝袜熟女国偷自产中文字幕亚洲| 国产精品亚洲专区无码牛牛| 日韩激情淫片免费看| 亚洲人成色4444在线观看| 国产三级在线观看免费| 成人区精品一区二区不卡亚洲| 69xx免费观看视频| 啊v在线免费观看| 色费女人18女人毛片免费视频| 日本不卡免费新一二三区| 美女视频黄频a免费| 亚洲午夜av影院| 中文字幕免费在线看电影大全| 亚洲va久久久噜噜噜久久天堂| 污视频在线观看免费| 亚洲伦理一二三四| 免费电影在线观看网站| 亚洲国产精品网站在线播放| 亚洲成A人片77777国产| 野花香高清在线观看视频播放免费| 亚洲成AV人片在| 黄页网站免费在线观看| 亚洲AV女人18毛片水真多| 亚洲国产日韩成人综合天堂| 日韩电影免费在线观看网站| 亚洲福利视频网站| 国产免费牲交视频| 国产综合免费精品久久久 | 午夜一级毛片免费视频| 亚洲精品无码不卡在线播放| 亚洲综合亚洲综合网成人| 久久久精品午夜免费不卡| 亚洲乱码一二三四区乱码| 一本色道久久88亚洲综合| 亚洲色成人WWW永久在线观看 | 1a级毛片免费观看| 亚洲日韩精品无码AV海量| 国产亚洲精品成人AA片新蒲金|