锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲伦理中文字幕,亚洲精品国产成人,日本系列1页亚洲系列http://m.tkk7.com/naruke/category/23270.htmlzh-cnWed, 25 Jul 2007 17:29:48 GMTWed, 25 Jul 2007 17:29:48 GMT60SiteMesh 榪囨護涓嶈楗扮殑欏甸潰http://m.tkk7.com/naruke/archive/2007/07/25/132335.html鎵洸鐨勯搮絎?/dc:creator>鎵洸鐨勯搮絎?/author>Wed, 25 Jul 2007 08:25:00 GMThttp://m.tkk7.com/naruke/archive/2007/07/25/132335.htmlhttp://m.tkk7.com/naruke/comments/132335.htmlhttp://m.tkk7.com/naruke/archive/2007/07/25/132335.html#Feedback0http://m.tkk7.com/naruke/comments/commentRss/132335.htmlhttp://m.tkk7.com/naruke/services/trackbacks/132335.html闃呰鍏ㄦ枃

]]>
SiteMesh緙栫爜http://m.tkk7.com/naruke/archive/2007/06/11/123336.html鎵洸鐨勯搮絎?/dc:creator>鎵洸鐨勯搮絎?/author>Mon, 11 Jun 2007 03:19:00 GMThttp://m.tkk7.com/naruke/archive/2007/06/11/123336.htmlhttp://m.tkk7.com/naruke/comments/123336.htmlhttp://m.tkk7.com/naruke/archive/2007/06/11/123336.html#Feedback0http://m.tkk7.com/naruke/comments/commentRss/123336.htmlhttp://m.tkk7.com/naruke/services/trackbacks/123336.html闃呰鍏ㄦ枃

]]>
SiteMesh甯哥敤鏍囩綆浠?/title><link>http://m.tkk7.com/naruke/archive/2007/06/11/123334.html</link><dc:creator>鎵洸鐨勯搮絎?/dc:creator><author>鎵洸鐨勯搮絎?/author><pubDate>Mon, 11 Jun 2007 02:58:00 GMT</pubDate><guid>http://m.tkk7.com/naruke/archive/2007/06/11/123334.html</guid><wfw:comment>http://m.tkk7.com/naruke/comments/123334.html</wfw:comment><comments>http://m.tkk7.com/naruke/archive/2007/06/11/123334.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/naruke/comments/commentRss/123334.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/naruke/services/trackbacks/123334.html</trackback:ping><description><![CDATA[     鎽樿: SiteMesh鏈変袱涓爣絳懼簱鍒嗗埆涓簊itemesh-decorator.tld銆乻itemesh-page.tld <br>  <a href='http://m.tkk7.com/naruke/archive/2007/06/11/123334.html'>闃呰鍏ㄦ枃</a><img src ="http://m.tkk7.com/naruke/aggbug/123334.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/naruke/" target="_blank">鎵洸鐨勯搮絎?/a> 2007-06-11 10:58 <a href="http://m.tkk7.com/naruke/archive/2007/06/11/123334.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SiteMesh浠嬬粛錛堣漿錛?/title><link>http://m.tkk7.com/naruke/archive/2007/06/11/123313.html</link><dc:creator>鎵洸鐨勯搮絎?/dc:creator><author>鎵洸鐨勯搮絎?/author><pubDate>Mon, 11 Jun 2007 02:36:00 GMT</pubDate><guid>http://m.tkk7.com/naruke/archive/2007/06/11/123313.html</guid><wfw:comment>http://m.tkk7.com/naruke/comments/123313.html</wfw:comment><comments>http://m.tkk7.com/naruke/archive/2007/06/11/123313.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/naruke/comments/commentRss/123313.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/naruke/services/trackbacks/123313.html</trackback:ping><description><![CDATA[<p>浠ュ墠鎴戦氬父浣跨敤鏃у紡鐨勬柟娉曟潵寤虹珛鑷繁鐨剋eb搴旂敤錛氭墜宸ユ帓鐗堬紝浠旂粏浣跨敤姣忎竴涓瓧鑺備嬌鍏跺伐浣滃湪<strong>Unicode</strong>涓嬶紝鍚屾椂浣跨敤make鏂囦歡鏉ラ傚簲涓嶅悓鐨凜PU……</p> <p>鎴栬鐜板湪鎴戜滑鍙互鎹竴縐嶆柟寮忋?/p> <p>灝界鎴戜粠娌℃湁鎰熻鍒伴渶瑕佷嬌鐢╝ssembly (CISC or RISC)鏉ュ緩绔媤eb搴旂敤錛屼絾涔熶細鍋跺皵瑙夊緱鎴戠殑寮鍙戜紮浼寸殑宸ヤ綔鐩稿綋綣佺悙銆傜壒鍒槸鎴戝彂鐜板緢澶氱殑寮鍙戣呭湪鐥涜嫤鐨勫姹備竴縐嶆瘮杈冨ソ鐨勬柟寮忔潵鎺у埗web搴旂敤鐨勫熀鏈ā鍧楋細渚嬪閭d簺</p> <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"><span style="COLOR: #008080">1</span> <img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> <span style="COLOR: #000000">欏靛ご<br></span><span style="COLOR: #008080">2</span> <span style="COLOR: #000000"><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>欏靛熬<br></span><span style="COLOR: #008080">3</span> <span style="COLOR: #000000"><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>瀵艱埅鏍?br></span><span style="COLOR: #008080">4</span> <span style="COLOR: #000000"><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>鎵撳嵃欏甸潰<br></span><span style="COLOR: #008080">5</span> <span style="COLOR: #000000"><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>鎵嬫寔璁懼鐨勮交閲忕駭欏甸潰</span> </div> <p>浠ュ強鍏朵粬鏇村鐨勯棶棰樸傚埌浜嗘渶鍚庯紝浠や漢鎯婂紓鐨勬槸澶ч儴鍒嗕漢閮介噰鐢ㄤ簡钀藉悗鐨刬ncludes鍜屽鍒剁矘璐存柟寮忋?/p> <p>鏍規嵁緇忛獙錛屾垜鍙互閲囩敤鍦?java.net 涓婂紑婧愮殑servlet 榪囨護鍣?SiteMeshn鏉ョ畝鍗曟槑浜嗗茍浼橀泤鐨勮В鍐寵繖浜涢棶棰樸備綔涓轟竴縐嶆浛浠f柊鐨則emplating璇█錛圶SLT錛夋垨閮ㄧ講鎮ㄧ殑欏甸潰鍒版柊鐨勭郴緇熺殑瑙e喅鏂規硶錛屽簲鐢⊿iteMesh鍙互鐩稿綋瀹規槗澶勭悊浣犵殑欏甸潰錛岃繖涓鍒囧彧闇瑕佹櫘閫氱殑HTML錛孞SP錛宻ervlet(鍖呮嫭Struts)錛屼互鍙婂叾浠栧父鐢ㄧ殑鎶鏈?/p> <p><font color=#0000ff><strong>涓 錛氬伐浣滃師鐞?/strong> </font><br><br>SiteMesh鍒╃敤浜嗕竴縐?font color=#0000ff>寰堝皯浜虹煡閬撶殑servlet瑙勮寖</font>瀹炵幇浜嗕竴縐嶉〉闈㈣繃婊ゅ櫒銆傝鎯充竴涓嬶紝鐜板湪鏈変竴涓畝鍗曠殑jsp欏甸潰鐢ㄦ潵榪斿洖褰撳墠鐨勬棩鏈熷拰鏃墮棿銆傞氬父榪欎釜欏甸潰璇鋒眰鏉ュ埌搴旂敤鏈嶅姟鍣紝欏甸潰琚鐞嗭紝鏈鍚庡鐞嗙粨鏋滆繑鍥炲埌web嫻忚鍣ㄣ係iteMesh浣滀負涓涓〉闈㈣繃婊ゅ櫒錛屽湪欏甸潰琚鐞嗕箣鍚庯紝榪斿洖web嫻忚鍣ㄤ箣鍓嶏紝瀵歸〉闈㈠仛浜嗕竴浜涢檮鍔犵殑鎿嶄綔銆傝繖涓彉鍖栫畝鍗曟弿榪頒負鍥句竴鍜屽浘浜屾墍紺虹殑闄勫姞姝ラ銆?br><br><img src="http://today.java.net/images/2004/03/sitemesh_fig1.gif"><br><br><img src="http://today.java.net/images/2004/03/sitemesh_fig2.gif"><br><br><font size=1><em>鍥句簩錛歋iteMesh瀵歸〉闈㈠鐞嗘儏鍐?/em></font></p> <p>鐜板湪鐪嬩竴涓畝鍗曠殑渚嬪瓙銆?/p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 10pt; 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: #000000"><</span> <span style="COLOR: #000000">html</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">head</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">title</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000">Simple Document</span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">title</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">head</span> <span style="COLOR: #000000">></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"><</span> <span style="COLOR: #000000">body</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        Hello World</span> <span style="COLOR: #000000">!</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">br </span> <span style="COLOR: #000000">/></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><%=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">+</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">%></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">body</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> </span><span style="COLOR: #000000"></</span> <span style="COLOR: #000000">html</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> </span> </div> <p>浣犱細鍙戠幇榪欎釜欏甸潰鏈変竴涓猼itle鍜宐ody錛堢被浼兼櫘閫氱殑HTML欏甸潰錛夈備綘涔熶細鍙戠幇涓灝忔JSP浠g爜鈥斺斿畠灝嗕細濡傚悓浣犳湡鏈涚殑閭f牱琚鐞嗐傚悓鏃朵綘鍙互浣跨敤浠諱綍浣犳兂浣跨敤鐨凧SP璇硶鍜岀壒鎬ф潵鏇挎崲榪欎竴灝忔浠g爜銆?</p> <p>鐜板湪鏉ョ湅涓涓畝鍗曠殑SiteMesh "瑁呴グ錛坉ecorator錛?欏甸潰銆傚垪琛?鏄劇ず浜嗕竴涓SiteMesh璋冪敤鐨凧SP欏甸潰銆?/p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 10pt; 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: #000000"><%</span> <span style="COLOR: #000000">@ taglib uri</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">sitemesh-decorator</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> prefix</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">decorator</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">%></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> </span><span style="COLOR: #000000"><</span> <span style="COLOR: #000000">html</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">head</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">title</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            My Site </span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000"> </span> <strong><span style="COLOR: #000000"><</span> <span style="COLOR: #000000">decorator:title </span> <span style="COLOR: #0000ff">default</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">Welcome!</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">/></span> </strong><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">title</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">decorator:head </span> <span style="COLOR: #000000">/></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">head</span> <span style="COLOR: #000000">></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"><</span> <span style="COLOR: #000000">body</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">h1</span> <span style="COLOR: #000000">> <strong><</strong></span> <strong><span style="COLOR: #000000">decorator:title </span> <span style="COLOR: #0000ff">default</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">Welcome!</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> </span> </strong><span style="COLOR: #000000"><strong>/></strong> </</span> <span style="COLOR: #000000">h1</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">p</span> <span style="COLOR: #000000">> <strong><</strong></span> <strong><span style="COLOR: #000000">decorator:body </span> </strong><span style="COLOR: #000000"><strong>/></strong> </</span> <span style="COLOR: #000000">p</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">p</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">small</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>                (</span> <strong><span style="COLOR: #000000"><</span> <span style="COLOR: #000000">a href</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">/?printable=true</span> </strong><span style="COLOR: #000000">"</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000">printable version</span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">a</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000">)<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">small</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">p</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">body</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> </span><span style="COLOR: #000000"></</span> <span style="COLOR: #000000">html</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> </span> </div> <p>鏌ョ湅榪欎釜瑁呴グ鍣紙decorator錛夛紝鎴戜滑鑳界湅鍒頒竴浜涙湁瓚g殑涓滆タ銆傞鍏堬紝鍦ㄧ涓琛岀敵鏄庝簡涓涓猄iteMesh鏍囩搴撱傝繖涓爣絳懼簱鍖呭惈浜嗕笌鍘熷欏甸潰涓璧峰伐浣滄椂鎵闇鐨勬墍鏈変笢瑗褲備綘鑳界湅鍒版垜浠嬌鐢ㄤ簡涓や釜SiteMesh鐨勮楗版爣絳撅紙declared tags錛夛紝 </p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 12pt; 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"><span style="COLOR: #008080">1</span> <img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">decorator:title</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br></span><span style="COLOR: #008080">2</span> <span style="COLOR: #000000"><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> </span><span style="COLOR: #000000"><</span> <span style="COLOR: #000000">decorator:body</span> <span style="COLOR: #000000">></span> </div> <p> 涓嶈鎯婅浜庢爣絳?lt;decorator:title>鍦ㄥ師濮嬮〉闈腑鏄劇ず<title>鏍囩涓殑鍐呭錛?<decorator:body> 涓殑鍐呭涔熸槸濡傛銆傛垜浠湪榪欎釜欏甸潰鐨凥EAD鍜孊ODY鍏冪礌閮戒嬌鐢ㄤ簡鍚屼竴涓猼itle鏍囩,鍚屾椂錛屾垜浠繕澧炲姞浜嗕竴涓埌鍙墦鍗扮増鏈〉闈㈢殑閾炬帴銆?/p> <p>浣滀負瀵圭収錛屽浘涓夋樉紺轟簡鍘熷澶勭悊欏甸潰錛屽浘鍥涙樉紺轟簡琚慨楗拌繃鐨勫鐞嗛〉闈€傜暀鎰忚瑁呴グ欏甸潰鍦ㄦ祻瑙堝櫒紿楀彛鏄劇ず鐨勬爣棰樻枃瀛楀拰HTML鍐呭銆傚悓鏃朵篃鍙互鐪嬪埌澧炲姞浜嗕竴涓彲鎵撳嵃欏甸潰鐨勯摼鎺モ斺旇繖涓垜浠洖澶村啀璇淬?</p> <p><img src="http://today.java.net/images/2004/03/sitemesh_fig3.gif"> <br><em><font size=1>鍥句笁錛氬師濮嬫湭淇グ欏甸潰<br></font><br><img src="http://today.java.net/images/2004/03/sitemesh_fig4.gif"> <br></em><br><font size=1>鍥懼洓錛氳淇グ欏甸潰</font> </p> <p>寰堟槑鏄撅紝瀵規瘮璧蜂嬌鐢╥nclude </p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 10pt; 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: #000000">渚嬪</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">jsp:include page</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">foo.jsp</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> flush</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">true</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">/></span> </div> <p>鏉ヨ錛屼互榪欐牱鐨勬柟寮忎嬌鐢ㄩ〉澶淬侀〉灝劇郴緇熺粨鏋勮娓呮櫚寰楀銆傝繖縐嶆柟寮忔洿鏄撶Щ妞嶃佹洿鏄撶悊瑙o紝鍚屾椂涔熼紦鍔變簡JSP欏甸潰涓嶅啀浣跨敤瀵艱埅鎴栧叾浠栫被浼肩殑琛ㄧ幇灞備唬鐮併傛垜鍙戠幇鍦↗SP欏甸潰涓嬌鐢ㄨ楗板櫒鍜孋SS鐨勭粍鍚堟瘮鏍囧噯HTML鐨勬爣絳炬洿瀹規槗鍘婚櫎鏍煎紡淇℃伅銆?/p> <p><font color=#0000ff><strong>浜?錛?瀹夎SiteMesh</strong> </font><br><br>娉ㄦ剰涓嬮潰鐨勫睆騫曟埅鍥炬槸鍩轟簬Windows XP Professional錛?Tomcat 5.0.19錛屽拰Java 2 SDK 1.4.2_03鐨勭幆澧冧箣涓婄殑銆傚湪榪欓噷鎴戝亣瀹氫綘鐨凾omcat宸茬粡瀹夎瀹屾瘯騫朵笖鍙互姝e父宸ヤ綔浜嗐備綘鎴栬浼氭湁涓浜涙販娣嗭紝浣嗘垜浠凡緇忔垚鍔熷湴鍦═omcat 4.1 鍜?WebLogic 嫻嬭瘯榪囷紝鍚屾椂 SiteMesh 涔熸敮鎸佸ぇ閮ㄥ垎鐨剋eb搴旂敤鏈嶅姟鍣ㄣ?</p> <p>鏈枃鎻忚堪鐨凷iteMesh 2.0.1鍙互鍦?涓嬭澆鍒般?鍦╦ava.net 涓奡iteMesh's 鐨勯」鐩簱涓湁鍥涗釜鏂囦歡鍙互涓嬭澆銆俿itemesh-2.0.1.jar 鏄叾鏍稿績 JAR 鏂囦歡錛?sitemesh-2.0.1-sources.zip 鐨勪綔鐢ㄦ濡傚悓鍏跺悕瀛楁墍榪幫紝 sitemesh-example.war 鍒欐彁渚涗簡涓涓鏉傜殑渚嬪瓙鐢ㄦ潵鏄劇ず涓浜汼iteMesh鐨勯珮綰х壒鎬с?/p> <p>涓轟簡浣挎弿榪版洿鍔犵畝鍗曪紝鎴戜滑浠巗itemesh-blank.war 鏂囦歡寮濮嬨傚皢璇AR鏂囦歡鏀懼叆Tomcat 鐨剋ebapps 鐩綍錛學AR鍖呭皢鑷姩瑙e帇鏄劇ず鍐呭錛圫oSo娉細榪欓噷鐨勫墠鎻愭槸浣犵殑tomcat宸茬粡寮濮嬪伐浣滐級錛屽鍥句簲鎵紺恒?/p> <p><img src="http://today.java.net/images/2004/03/sitemesh_fig5.gif"> <br><br><em><font size=1>鍥句簲錛?SiteMesh_blank.WAR瑙e紑鍚庣殑鍐呭</font> </em></p> <p>鎴戜滑鑺辯偣鏃墮棿鎻忚堪涓涓嬭繖浜涙枃浠剁殑浣滅敤銆?/p> <p><strong>1  :  web.xml </strong></p> <p>棣栧厛錛?em>WEB-INF/web.xml</em> 鏂囦歡鏄劇ず濡傚垪琛?錛岃繖浜涜鍙ョ敤鏉ュ畨瑁匰iteMesh 榪囨護鍣ㄥ拰鏍囩搴撱傚鏋滀綘鍐沖畾鍦ㄤ竴涓凡鏈夌殑Web搴旂敤涓嬌鐢⊿iteMesh錛屼綘蹇呴』鎶婅繖浜涜鍙ユ坊鍔犲埌浣犵殑<em>WEB-INF/web.xml</em> 鏂囦歡涓?/p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 10pt; 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: #000000"><?</span> <span style="COLOR: #000000">xml version</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">1.0</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> encoding</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">ISO-8859-1</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">?></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> </span><span style="COLOR: #000000"><!</span> <span style="COLOR: #000000">DOCTYPE web</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">app PUBLIC </span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">http://java.sun.com/dtd/web-app_2_3.dtd</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">></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"><</span> <span style="COLOR: #000000">web</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">app</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">filter</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">filter</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">name</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000">sitemesh</span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">filter</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">name</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">filter</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #0000ff">class</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000">com.opensymphony.module.sitemesh.filter.PageFilter</span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">filter</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #0000ff">class</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">filter</span> <span style="COLOR: #000000">></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"><</span> <span style="COLOR: #000000">filter</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">mapping</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">filter</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">name</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000">sitemesh</span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">filter</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">name</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       <strong> </strong></span> <strong><span style="COLOR: #000000"><</span> <span style="COLOR: #000000">url</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">pattern</span> <span style="COLOR: #000000">>*</span> <span style="COLOR: #000000">.jsp</span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">url</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">pattern</span> <span style="COLOR: #000000">></span> </strong><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">filter</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">mapping</span> <span style="COLOR: #000000">></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"><</span> <span style="COLOR: #000000">taglib</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">taglib</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">uri</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000">sitemesh</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">page</span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">taglib</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">uri</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">taglib</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">location</span> <span style="COLOR: #000000">>/</span> <span style="COLOR: #000000">WEB</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">INF</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">sitemesh</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">page.tld</span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">taglib</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">location</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">taglib</span> <span style="COLOR: #000000">></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"><</span> <span style="COLOR: #000000">taglib</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">taglib</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">uri</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000">sitemesh</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">decorator</span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">taglib</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">uri</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">taglib</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">location</span> <span style="COLOR: #000000">>/</span> <span style="COLOR: #000000">WEB</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">INF</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">sitemesh</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">decorator.tld</span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">taglib</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">location</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">taglib</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">web</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">app</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> </span> </div> <p>娉ㄦ剰錛氳繖閲岄渶瑕佹敞鎰忎竴涓媢rl-pattern鐨勫啓娉?- 濡傛灉浣跨敤鐨勬槸Tomcat 5錛堣屼笉鏄?Tomcat 4 錛夛紝闇瑕佸皢榛樿鐨?淇敼濡?.jsp鐨勫艦寮忋傛渶鏂扮殑servlet瑙勮寖涓嶅啀鏀寔*鏍峰紡銆?/p> <p><strong>2 : decorators.xml</strong> </p> <p><em>WEB-INF/decorators.xml</em> 鏂囦歡鐢ㄦ潵灝嗕竴涓楗板櫒鍚嶅瓧鍚屼竴涓笓闂ㄧ殑JSP瑁呴グ鏂囦歡緇戝畾</p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 10pt; 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: #000000"><</span> <span style="COLOR: #000000">decorators defaultdir</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">/decorators</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">></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"><</span> <span style="COLOR: #000000">decorator name</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">main</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> page</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">main.jsp</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">pattern</span> <span style="COLOR: #000000">>*</</span> <span style="COLOR: #000000">pattern</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">decorator</span> <span style="COLOR: #000000">></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"><</span> <span style="COLOR: #000000">decorator name</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">panel</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> page</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">panel.jsp</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">/></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"><</span> <span style="COLOR: #000000">decorator name</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">printable</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> page</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">printable.jsp</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">/></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"></</span> <span style="COLOR: #000000">decorators</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> </span> </div> <p>姝e鎴戜滑鍦ㄤ唬鐮佸垪琛ㄩ噷鐪嬪埌鐨勪竴鏍鳳紝鎴戜滑瀹氫箟浜嗕笁涓楗板櫒錛屼粬浠垎鍒粦瀹氫簡涓変釜綾諱技鐨凧SP欏甸潰銆傛垜浠彲浠ョ湅鍒頒竴涓粯璁よ楗板櫒錛坢ain.jsp錛夛紝瀹冨皢琚粯璁よ繍鐢ㄤ簬鎵鏈夋枃浠躲?/p> <p>2.1  :   緙虹渷鐨勶紝SiteMesh浣跨敤涓嬮潰鐨勯昏緫鏉ラ夋嫨浣跨敤鍝竴涓楗板櫒錛?/p> <p> </p> <p>榪欎釜閫昏緫鍦?em>sitemesh-2.0.1.jar</em> 鍖呯殑 <em>\com\opensymphony\module\sitemesh\factor\sitemesh-default.xml</em> 鏂囦歡閲岃鎻忚堪銆?br><br><font size=1>sitemesh-default.xml  : <br><br></font></p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 10pt; 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: #000000"><</span> <span style="COLOR: #000000">sitemesh</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">property name</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">decorators-file</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> value</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">/WEB-INF/decorators.xml</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">/></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">excludes file</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">${decorators-file}</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">/></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"><</span> <span style="COLOR: #000000">page</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">parsers</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">parser content</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">type</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">text/html</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">class</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">com.opensymphony.module.sitemesh.parser.FastPageParser</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">/></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">page</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">parsers</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">decorator</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">mappers</span> <span style="COLOR: #000000">><br></span><span style="COLOR: #000000"><br>            //欏甸潰鏄惁浣跨敤meta瑁呴グ鍣ㄦ爣絳撅紙meta decorator tag錛夌壒鍒寚瀹氫簡涓涓楗板櫒錛?br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">mapper </span> <span style="COLOR: #0000ff">class</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">com.opensymphony.module.sitemesh.mapper.PageDecoratorMapper</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">param name</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">property.1</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> value</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">meta.decorator</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">/></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">param name</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">property.2</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> value</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">decorator</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">/></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">mapper</span> <span style="COLOR: #000000">><br></span><span style="COLOR: #000000"><br>            //欏甸潰鏄惁鏄竴涓鏋墮泦錛堟槸鐨勮瘽鍒欎笉搴旂敤瑁呴グ鍣級錛?<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">mapper </span> <span style="COLOR: #0000ff">class</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">com.opensymphony.module.sitemesh.mapper.FrameSetDecoratorMapper</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">/><br></span><span style="COLOR: #000000"><br>            //欏甸潰鏄惁浣跨敤浜唒rintable=true 鍙傛暟錛堟槸鐨勮瘽鍒欎嬌鐢ㄦ墦鍗拌楗板櫒錛?br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">mapper </span> <span style="COLOR: #0000ff">class</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">com.opensymphony.module.sitemesh.mapper.PrintableDecoratorMapper</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">param name</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">decorator</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> value</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">printable</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">/></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">param name</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">parameter.name</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> value</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">printable</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">/></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">param name</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">parameter.value</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> value</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">true</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">/></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">mapper</span> <span style="COLOR: #000000">><br></span><span style="COLOR: #000000"><br>            //欏甸潰鏃跺欎嬌鐢ㄨ楗板櫒鏂囦歡鍚嶇壒鍒寚瀹氫簡涓涓楗板櫒<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">mapper </span> <span style="COLOR: #0000ff">class</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">com.opensymphony.module.sitemesh.mapper.FileDecoratorMapper</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">/><br></span><span style="COLOR: #000000"><br>            //欏甸潰鏄惁鍖歸厤 <em>decorators.xml</em> 鏂囦歡閲屾弿榪扮殑鏍峰紡錛?br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">mapper </span> <span style="COLOR: #0000ff">class</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">param name</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">config</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> value</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">${decorators-file}</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">/></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">mapper</span> <span style="COLOR: #000000">><br></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">decorator</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">mappers</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> </span><span style="COLOR: #000000"></</span> <span style="COLOR: #000000">sitemesh</span> <span style="COLOR: #000000">></span> </div> <p><br>浣犲彲浠ラ拡瀵硅濡傦細瀹㈡埛绔搷浣滅郴緇燂紝web嫻忚鍣紝鐢ㄦ埛浠g悊絳夊湪<em>WEB-INF\sitemesh.xml</em>鏂囦歡閲岋紝閫氳繃涓涓彉閲忚鐩栬繖涓涓? 鍙互鍦?em>sitemesh-example.war</em> 鎵懼埌渚嬪瓙銆?</p> <p>閫氬父絎竴鏉¤鍒欎粎鐢ㄦ潵紜畾璇ヨ楗板櫒鏄惁琚嬌鐢紙Conceptually, the first rule that evaluates to true determines the decorator that is used. 錛夊湪涓婇潰鐨勪緥瀛愪腑錛屽綋鍑虹幇printable=true 鍙傛暟鐨勬椂鍊欙紝瑁呴グ鍣╬rintable.jsp 錛堣鍒?#3錛夋浛浠d簡 main.jsp 錛堣鍒?#5錛夈傚湪SiteMesh涓紝榪欎簺瑙勫垯琚弿榪頒負 <em>mappers銆?/em></p> <p><strong>3 :  decorators/*.jsp</strong> </p> <p>榪欎笁涓猟ecorators鐩綍涓嬬殑鏂囦歡鏄?em>decorators.xml</em>鏂囦歡涓弿榪扮殑涓嶅悓瑁呴グ鍣↗SP鏂囦歡銆備笂闈㈡槸涓涓畝鍗曠殑瑁呴グ鍣ㄤ緥瀛愶紝鍦ㄥ悗闈㈡垜浠皢璁ㄨ鏇村鏉傜殑紺轟緥銆?/p> <p><strong><br>4 :  sitemesh-2.0.1.jar</strong> </p> <p>榪欐槸SiteMesh鏈涓昏鐨勪簩榪涘埗鏂囦歡錛岄氬父琚畨瑁呭湪 <em>WEB-INF/lib</em> 鐩綍涓嬨傚彲浠ュ湪<a ><font color=#004377>www.opensymphony.com/sitemesh/api</font></a> 鎵懼埌榪欎釜搴撶殑javadoc銆?/p> <p><em>*.tld</em> </p> <p>SiteMesh浣跨敤涓や釜鏍囩搴擄紝浣嗗ぇ澶氭暟浜洪兘鍙渶瑕?em>sitemesh-decorator.tld</em>銆傝繕鏈変竴涓槸 錛歴itemesh-page.tld 浣犲彲浠ュ湪 <a ><font color=#004377>www.opensymphony.com/sitemesh/tags.html</font></a> 鎵懼埌鐩稿簲鐨勬枃妗c傛垜浠凡緇忚榪頒簡鏈涓昏鐨勬爣絳撅細head錛宼itle鍜宐ody銆傚湪涓嬩竴绔犳垜浠潵璁ㄨ鍓╀笅鐨勬爣絳撅細getProperty銆?/p> <img src ="http://m.tkk7.com/naruke/aggbug/123313.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/naruke/" target="_blank">鎵洸鐨勯搮絎?/a> 2007-06-11 10:36 <a href="http://m.tkk7.com/naruke/archive/2007/06/11/123313.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://taoh2510.com" target="_blank">少妇性饥渴无码A区免费</a>| <a href="http://simupiao.com" target="_blank">亚洲日韩国产二区无码</a>| <a href="http://moushengguigz.com" target="_blank">麻豆va在线精品免费播放</a>| <a href="http://qiwangxuan.com" target="_blank">搡女人免费视频大全</a>| <a href="http://gzltchem.com" target="_blank">亚洲大香伊人蕉在人依线</a>| <a href="http://591se591se.com" target="_blank">免费黄色福利视频</a>| <a href="http://aqddv.com" target="_blank">亚洲免费在线视频播放</a>| <a href="http://cnlawedu.com" target="_blank">一个人看www在线高清免费看 </a>| <a href="http://www44wawa.com" target="_blank">亚洲精品影院久久久久久</a>| <a href="http://liulian88.com" target="_blank">57pao一国产成视频永久免费</a>| <a href="http://grjeans.com" target="_blank">久久久久亚洲精品无码蜜桃</a>| <a href="http://48eh.com" target="_blank">91热久久免费精品99</a>| <a href="http://nblfkj.com" target="_blank">亚洲国产精品免费在线观看</a>| <a href="http://www-533999.com" target="_blank">国产一卡2卡3卡4卡2021免费观看 国产一卡2卡3卡4卡无卡免费视频 </a>| <a href="http://100357.com" target="_blank">四虎永久免费地址在线网站</a>| <a href="http://ge2hao.com" target="_blank">豆国产96在线|亚洲</a>| <a href="http://5666my.com" target="_blank">亚洲av无码成人精品区</a>| <a href="http://wuiso.com" target="_blank">fc2免费人成在线</a>| <a href="http://5g5t.com" target="_blank">亚洲Av高清一区二区三区</a>| <a href="http://xwy2.com" target="_blank">国产曰批免费视频播放免费s</a>| <a href="http://yinyinai155.com" target="_blank">亚洲欧洲自拍拍偷综合</a>| <a href="http://jkc178.com" target="_blank">国产福利在线免费</a>| <a href="http://pufenghotel.com" target="_blank">久久亚洲精品11p</a>| <a href="http://yes5555.com" target="_blank">亚洲午夜久久久影院伊人</a>| <a href="http://njchxf.com" target="_blank">另类免费视频一区二区在线观看</a>| <a href="http://vvihh.com" target="_blank">亚洲av无码不卡一区二区三区 </a>| <a href="http://hwafarda.com" target="_blank">国产精品亚洲综合久久</a>| <a href="http://fdsyjy.com" target="_blank">国产青草视频免费观看97</a>| <a href="http://786087.com" target="_blank">日本一区二区三区免费高清在线</a>| <a href="http://www2626cf.com" target="_blank">91麻豆国产自产在线观看亚洲</a>| <a href="http://www44414.com" target="_blank">久久国产免费观看精品</a>| <a href="http://dunyny.com" target="_blank">亚洲国产精品成人综合色在线婷婷</a>| <a href="http://www-ttyx.com" target="_blank">免费无码一区二区三区蜜桃大</a>| <a href="http://www22432.com" target="_blank">日韩免费码中文在线观看</a>| <a href="http://77110524.com" target="_blank">国产成人精品日本亚洲网站</a>| <a href="http://saohuo7.com" target="_blank">无码国产精品一区二区免费式直播</a>| <a href="http://qimiaodh.com" target="_blank">亚洲成在人线在线播放无码</a>| <a href="http://6132423.com" target="_blank">亚洲桃色AV无码</a>| <a href="http://www96008.com" target="_blank">拨牐拨牐x8免费</a>| <a href="http://sdtuoliuta.com" target="_blank">91免费在线视频</a>| <a href="http://8xk7u9.com" target="_blank">亚洲精品一卡2卡3卡四卡乱码</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>