﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>语源科技BlogJava-NingLee的blog</title><link>http://www.blogjava.net/ninglee/</link><description /><language>zh-cn</language><lastBuildDate>Mon, 13 Apr 2026 08:54:16 GMT</lastBuildDate><pubDate>Mon, 13 Apr 2026 08:54:16 GMT</pubDate><ttl>60</ttl><item><title>Design Pattern Note(1) --  Iterator Pattern</title><link>http://www.blogjava.net/ninglee/archive/2006/06/13/52594.html</link><dc:creator>李宁</dc:creator><author>李宁</author><pubDate>Tue, 13 Jun 2006 15:18:00 GMT</pubDate><guid>http://www.blogjava.net/ninglee/archive/2006/06/13/52594.html</guid><wfw:comment>http://www.blogjava.net/ninglee/comments/52594.html</wfw:comment><comments>http://www.blogjava.net/ninglee/archive/2006/06/13/52594.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/ninglee/comments/commentRss/52594.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/ninglee/services/trackbacks/52594.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: It’s a long time that I didn’t do something meaningful. Maybe because I am in happiness now.														J												Many time I spend with my GF, a little decadence														J				...&nbsp;&nbsp;<a href='http://www.blogjava.net/ninglee/archive/2006/06/13/52594.html'>阅读全文</a><img src ="http://www.blogjava.net/ninglee/aggbug/52594.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ninglee/" target="_blank">李宁</a> 2006-06-13 23:18 <a href="http://www.blogjava.net/ninglee/archive/2006/06/13/52594.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>sum-up of the weekend(code demo)(end)</title><link>http://www.blogjava.net/ninglee/archive/2006/06/05/50516.html</link><dc:creator>李宁</dc:creator><author>李宁</author><pubDate>Mon, 05 Jun 2006 07:58:00 GMT</pubDate><guid>http://www.blogjava.net/ninglee/archive/2006/06/05/50516.html</guid><wfw:comment>http://www.blogjava.net/ninglee/comments/50516.html</wfw:comment><comments>http://www.blogjava.net/ninglee/archive/2006/06/05/50516.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/ninglee/comments/commentRss/50516.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/ninglee/services/trackbacks/50516.html</trackback:ping><description><![CDATA[
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-FAMILY: 'Times New Roman','serif'">Continue with my JAVA test series.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /?><o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-FAMILY: 'Times New Roman','serif'">This is the last one of the test series. It also about the regular expressions.</span>
		</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://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #0000ff">public</span>
				<span style="COLOR: #000000"> </span>
				<span style="COLOR: #0000ff">class</span>
				<span style="COLOR: #000000"> testreplaceall<br /></span>
				<span style="COLOR: #008080"> 2</span>
				<span style="COLOR: #000000">
						<img id="Codehighlighter1_28_311_Open_Image" onclick="this.style.display='none'; Codehighlighter1_28_311_Open_Text.style.display='none'; Codehighlighter1_28_311_Closed_Image.style.display='inline'; Codehighlighter1_28_311_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" />
						<img id="Codehighlighter1_28_311_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_28_311_Closed_Text.style.display='none'; Codehighlighter1_28_311_Open_Image.style.display='inline'; Codehighlighter1_28_311_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align="top" />
				</span>
				<span id="Codehighlighter1_28_311_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://www.blogjava.net/images/dot.gif" />
				</span>
				<span id="Codehighlighter1_28_311_Open_Text">
						<span style="COLOR: #000000">{<br /></span>
						<span style="COLOR: #008080"> 3</span>
						<span style="COLOR: #000000">
								<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />    </span>
						<span style="COLOR: #0000ff">public</span>
						<span style="COLOR: #000000"> </span>
						<span style="COLOR: #0000ff">static</span>
						<span style="COLOR: #000000"> </span>
						<span style="COLOR: #0000ff">void</span>
						<span style="COLOR: #000000"> main(String args[])<br /></span>
						<span style="COLOR: #008080"> 4</span>
						<span style="COLOR: #000000">
								<img id="Codehighlighter1_71_309_Open_Image" onclick="this.style.display='none'; Codehighlighter1_71_309_Open_Text.style.display='none'; Codehighlighter1_71_309_Closed_Image.style.display='inline'; Codehighlighter1_71_309_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
								<img id="Codehighlighter1_71_309_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_71_309_Closed_Text.style.display='none'; Codehighlighter1_71_309_Open_Image.style.display='inline'; Codehighlighter1_71_309_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    </span>
						<span id="Codehighlighter1_71_309_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://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_71_309_Open_Text">
								<span style="COLOR: #000000">{<br /></span>
								<span style="COLOR: #008080"> 5</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        String s </span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> </span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">aaaaa=</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">;<br /></span>
								<span style="COLOR: #008080"> 6</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        s</span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> s.replace(</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">=</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: #008080"> 7</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        System.out.println(</span>
								<span style="COLOR: #000000"> </span>
								<span style="COLOR: #000000">"s </span>
								<span style="COLOR: #000000"> is </span>
								<span style="COLOR: #000000">"+s</span>
								<span style="COLOR: #000000">);<br /></span>
								<span style="COLOR: #008080"> 8</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        s</span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> </span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">aaaa.</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">;<br /></span>
								<span style="COLOR: #008080"> 9</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        s</span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> s.replaceAll(</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">\\.</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: #008080">10</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        System.out.println(</span>
								<span style="COLOR: #000000">"s</span>
								<span style="COLOR: #000000"> is </span>
								<span style="COLOR: #000000">"+s</span>
								<span style="COLOR: #000000">);<br /></span>
								<span style="COLOR: #008080">11</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        s</span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> </span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">aaaa.</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">;<br /></span>
								<span style="COLOR: #008080">12</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        s</span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> s.replaceAll(</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">.</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: #008080">13</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        System.out.println(</span>
								<span style="COLOR: #000000">"s</span>
								<span style="COLOR: #000000"> is </span>
								<span style="COLOR: #000000">"+s</span>
								<span style="COLOR: #000000">);<br /></span>
								<span style="COLOR: #008080">14</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />    }</span>
						</span>
						<span style="COLOR: #000000">
								<br />
						</span>
						<span style="COLOR: #008080">15</span>
						<span style="COLOR: #000000">
								<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span>
				</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">16</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />        </span>
		</div>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<o:p>The . stand for all letter, and the Escape character is \\ </o:p>
		</p>
<img src ="http://www.blogjava.net/ninglee/aggbug/50516.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ninglee/" target="_blank">李宁</a> 2006-06-05 15:58 <a href="http://www.blogjava.net/ninglee/archive/2006/06/05/50516.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>sum-up of the weekend(code demo)(cont.)</title><link>http://www.blogjava.net/ninglee/archive/2006/06/05/50510.html</link><dc:creator>李宁</dc:creator><author>李宁</author><pubDate>Mon, 05 Jun 2006 07:42:00 GMT</pubDate><guid>http://www.blogjava.net/ninglee/archive/2006/06/05/50510.html</guid><wfw:comment>http://www.blogjava.net/ninglee/comments/50510.html</wfw:comment><comments>http://www.blogjava.net/ninglee/archive/2006/06/05/50510.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/ninglee/comments/commentRss/50510.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/ninglee/services/trackbacks/50510.html</trackback:ping><description><![CDATA[
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-FAMILY: 'Times New Roman','serif'">Today I learned how to use javadoc Chinese Edition in Eclipse, hapy</span>
				<span lang="EN-US" style="FONT-FAMILY: Wingdings; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-char-type: symbol; mso-symbol-font-family: Wingdings">
						<span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings">J</span>
				</span>
				<span lang="EN-US" style="FONT-FAMILY: 'Times New Roman','serif'">
						<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /?>
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-FAMILY: 'Times New Roman','serif'">Continue with my JAVA test series.<br /><o:p></o:p></span>
		</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://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #0000ff">import</span>
				<span style="COLOR: #000000"> java.util.regex.Pattern;<br /></span>
				<span style="COLOR: #008080"> 2</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
						<br />
				</span>
				<span style="COLOR: #008080"> 3</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">public</span>
				<span style="COLOR: #000000"> </span>
				<span style="COLOR: #0000ff">class</span>
				<span style="COLOR: #000000"> testmatch<br /></span>
				<span style="COLOR: #008080"> 4</span>
				<span style="COLOR: #000000">
						<img id="Codehighlighter1_56_298_Open_Image" onclick="this.style.display='none'; Codehighlighter1_56_298_Open_Text.style.display='none'; Codehighlighter1_56_298_Closed_Image.style.display='inline'; Codehighlighter1_56_298_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" />
						<img id="Codehighlighter1_56_298_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_56_298_Closed_Text.style.display='none'; Codehighlighter1_56_298_Open_Image.style.display='inline'; Codehighlighter1_56_298_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align="top" />
				</span>
				<span id="Codehighlighter1_56_298_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://www.blogjava.net/images/dot.gif" />
				</span>
				<span id="Codehighlighter1_56_298_Open_Text">
						<span style="COLOR: #000000">{<br /></span>
						<span style="COLOR: #008080"> 5</span>
						<span style="COLOR: #000000">
								<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />    </span>
						<span style="COLOR: #0000ff">public</span>
						<span style="COLOR: #000000"> </span>
						<span style="COLOR: #0000ff">static</span>
						<span style="COLOR: #000000"> </span>
						<span style="COLOR: #0000ff">void</span>
						<span style="COLOR: #000000"> main(String args[])<br /></span>
						<span style="COLOR: #008080"> 6</span>
						<span style="COLOR: #000000">
								<img id="Codehighlighter1_99_296_Open_Image" onclick="this.style.display='none'; Codehighlighter1_99_296_Open_Text.style.display='none'; Codehighlighter1_99_296_Closed_Image.style.display='inline'; Codehighlighter1_99_296_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
								<img id="Codehighlighter1_99_296_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_99_296_Closed_Text.style.display='none'; Codehighlighter1_99_296_Open_Image.style.display='inline'; Codehighlighter1_99_296_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    </span>
						<span id="Codehighlighter1_99_296_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://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_99_296_Open_Text">
								<span style="COLOR: #000000">{<br /></span>
								<span style="COLOR: #008080"> 7</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        </span>
								<span style="COLOR: #0000ff">boolean</span>
								<span style="COLOR: #000000"> valid </span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> </span>
								<span style="COLOR: #0000ff">false</span>
								<span style="COLOR: #000000">;<br /></span>
								<span style="COLOR: #008080"> 8</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        </span>
								<span style="COLOR: #008000">//</span>
								<span style="COLOR: #008000">String s = </span>
								<span style="COLOR: #008000">
										<br />
								</span>
								<span style="COLOR: #008080"> 9</span>
								<span style="COLOR: #008000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
								</span>
								<span style="COLOR: #000000">        valid </span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> Pattern.matches(</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">hoho.*</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">,</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">hoho123</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">);<br /></span>
								<span style="COLOR: #008080">10</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        System.out.println(valid);<br /></span>
								<span style="COLOR: #008080">11</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        valid </span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> Pattern.matches(</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">hoho.+</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">,</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">hoho</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">);<br /></span>
								<span style="COLOR: #008080">12</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        System.out.println(valid);<br /></span>
								<span style="COLOR: #008080">13</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />    }</span>
						</span>
						<span style="COLOR: #000000">
								<br />
						</span>
						<span style="COLOR: #008080">14</span>
						<span style="COLOR: #000000">
								<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span>
				</span>
		</div>This is a test of regular expression, I answered in <a href="http://www.javatx.cn/">www.javatx.cn</a> ,post here :)<img src ="http://www.blogjava.net/ninglee/aggbug/50510.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ninglee/" target="_blank">李宁</a> 2006-06-05 15:42 <a href="http://www.blogjava.net/ninglee/archive/2006/06/05/50510.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>sum-up of the weekend(code demo) (cont.)</title><link>http://www.blogjava.net/ninglee/archive/2006/06/03/50186.html</link><dc:creator>李宁</dc:creator><author>李宁</author><pubDate>Sat, 03 Jun 2006 15:39:00 GMT</pubDate><guid>http://www.blogjava.net/ninglee/archive/2006/06/03/50186.html</guid><wfw:comment>http://www.blogjava.net/ninglee/comments/50186.html</wfw:comment><comments>http://www.blogjava.net/ninglee/archive/2006/06/03/50186.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/ninglee/comments/commentRss/50186.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/ninglee/services/trackbacks/50186.html</trackback:ping><description><![CDATA[2、PeorityTest---get from the sun Tech Day and I change a little   <span lang="EN-US" style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings">J<br />    </span></span><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://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000"> peority<br /></span><span style="COLOR: #008080"> 2</span><span style="COLOR: #000000"><img id="Codehighlighter1_21_243_Open_Image" onclick="this.style.display='none'; Codehighlighter1_21_243_Open_Text.style.display='none'; Codehighlighter1_21_243_Closed_Image.style.display='inline'; Codehighlighter1_21_243_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_21_243_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_21_243_Closed_Text.style.display='none'; Codehighlighter1_21_243_Open_Image.style.display='inline'; Codehighlighter1_21_243_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span id="Codehighlighter1_21_243_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://www.blogjava.net/images/dot.gif" /></span><span id="Codehighlighter1_21_243_Open_Text"><span style="COLOR: #000000">{<br /></span><span style="COLOR: #008080"> 3</span><span style="COLOR: #000000"><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />    </span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000"> main(String args[])<br /></span><span style="COLOR: #008080"> 4</span><span style="COLOR: #000000"><img id="Codehighlighter1_64_241_Open_Image" onclick="this.style.display='none'; Codehighlighter1_64_241_Open_Text.style.display='none'; Codehighlighter1_64_241_Closed_Image.style.display='inline'; Codehighlighter1_64_241_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_64_241_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_64_241_Closed_Text.style.display='none'; Codehighlighter1_64_241_Open_Image.style.display='inline'; Codehighlighter1_64_241_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    </span><span id="Codehighlighter1_64_241_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://www.blogjava.net/images/dot.gif" /></span><span id="Codehighlighter1_64_241_Open_Text"><span style="COLOR: #000000">{<br /></span><span style="COLOR: #008080"> 5</span><span style="COLOR: #000000"><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        String s1 </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">abcdefg:10</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">;<br /></span><span style="COLOR: #008080"> 6</span><span style="COLOR: #000000"><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        String s2 </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">abcdefg:</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> s1.length();<br /></span><span style="COLOR: #008080"> 7</span><span style="COLOR: #000000"><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        System.out.println(s1.equals(s2));<br /></span><span style="COLOR: #008080"> 8</span><span style="COLOR: #000000"><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        System.out.println(s1</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">s2);<br /></span><span style="COLOR: #008080"> 9</span><span style="COLOR: #000000"><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        System.out.println(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">s1==s2</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">s1</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">s2);<br /></span><span style="COLOR: #008080">10</span><span style="COLOR: #000000"><img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />    }</span></span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">11</span><span style="COLOR: #000000"><img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">12</span><span style="COLOR: #000000"><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />        <br /></span><span style="COLOR: #008080">13</span><span style="COLOR: #000000"><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span></div>if you don't understand this, you can use the javap tool, maybe cause another post <span lang="EN-US" style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings">J<br /><br /></span></span><img src ="http://www.blogjava.net/ninglee/aggbug/50186.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ninglee/" target="_blank">李宁</a> 2006-06-03 23:39 <a href="http://www.blogjava.net/ninglee/archive/2006/06/03/50186.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>sum-up of the weekend(code demo)</title><link>http://www.blogjava.net/ninglee/archive/2006/06/03/50179.html</link><dc:creator>李宁</dc:creator><author>李宁</author><pubDate>Sat, 03 Jun 2006 14:33:00 GMT</pubDate><guid>http://www.blogjava.net/ninglee/archive/2006/06/03/50179.html</guid><wfw:comment>http://www.blogjava.net/ninglee/comments/50179.html</wfw:comment><comments>http://www.blogjava.net/ninglee/archive/2006/06/03/50179.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/ninglee/comments/commentRss/50179.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/ninglee/services/trackbacks/50179.html</trackback:ping><description><![CDATA[
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US">A weekend again, I just send an e-mail to the red-flag company. It’s just a wish, I think.</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US">Record some code sum-up on this week.</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN-US" style="mso-fareast-font-family: 'Times New Roman'">
						<span style="mso-list: Ignore">1、<span style="FONT: 7pt 'Times New Roman'">  </span></span>
				</span>
				<span lang="EN-US">SpitTest --- learned from <a href="http://www.javatx.cn/">www.javatx.cn</a> Welcome to this website, I master the J2SE section</span>
				<span lang="EN-US" style="FONT-FAMILY: Wingdings; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-char-type: symbol; mso-symbol-font-family: Wingdings">
						<span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings">J<br /></span>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US">
				</span>
		</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 id="Codehighlighter1_22_404_Open_Image" onclick="this.style.display='none'; Codehighlighter1_22_404_Open_Text.style.display='none'; Codehighlighter1_22_404_Closed_Image.style.display='inline'; Codehighlighter1_22_404_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" />
				<img id="Codehighlighter1_22_404_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_22_404_Closed_Text.style.display='none'; Codehighlighter1_22_404_Open_Image.style.display='inline'; Codehighlighter1_22_404_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align="top" />
				<span style="COLOR: #0000ff">public</span>
				<span style="COLOR: #000000"> </span>
				<span style="COLOR: #0000ff">class</span>
				<span style="COLOR: #000000"> SpitTest </span>
				<span id="Codehighlighter1_22_404_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://www.blogjava.net/images/dot.gif" />
				</span>
				<span id="Codehighlighter1_22_404_Open_Text">
						<span style="COLOR: #000000">{<br /></span>
						<span style="COLOR: #008080"> 2</span>
						<span style="COLOR: #000000">
								<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
								<br />
						</span>
						<span style="COLOR: #008080"> 3</span>
						<span style="COLOR: #000000">
								<img id="Codehighlighter1_25_46_Open_Image" onclick="this.style.display='none'; Codehighlighter1_25_46_Open_Text.style.display='none'; Codehighlighter1_25_46_Closed_Image.style.display='inline'; Codehighlighter1_25_46_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
								<img id="Codehighlighter1_25_46_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_25_46_Closed_Text.style.display='none'; Codehighlighter1_25_46_Open_Image.style.display='inline'; Codehighlighter1_25_46_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />
						</span>
						<span id="Codehighlighter1_25_46_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">/** */</span>
						<span id="Codehighlighter1_25_46_Open_Text">
								<span style="COLOR: #008000">/**</span>
								<span style="COLOR: #008000">
										<br />
								</span>
								<span style="COLOR: #008080"> 4</span>
								<span style="COLOR: #008000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" /> * </span>
								<span style="COLOR: #808080">@param</span>
								<span style="COLOR: #008000"> args<br /></span>
								<span style="COLOR: #008080"> 5</span>
								<span style="COLOR: #008000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" /> </span>
								<span style="COLOR: #008000">*/</span>
						</span>
						<span style="COLOR: #000000">
								<br />
						</span>
						<span style="COLOR: #008080"> 6</span>
						<span style="COLOR: #000000">
								<img id="Codehighlighter1_88_402_Open_Image" onclick="this.style.display='none'; Codehighlighter1_88_402_Open_Text.style.display='none'; Codehighlighter1_88_402_Closed_Image.style.display='inline'; Codehighlighter1_88_402_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
								<img id="Codehighlighter1_88_402_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_88_402_Closed_Text.style.display='none'; Codehighlighter1_88_402_Open_Image.style.display='inline'; Codehighlighter1_88_402_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    </span>
						<span style="COLOR: #0000ff">public</span>
						<span style="COLOR: #000000"> </span>
						<span style="COLOR: #0000ff">static</span>
						<span style="COLOR: #000000"> </span>
						<span style="COLOR: #0000ff">void</span>
						<span style="COLOR: #000000"> main(String[] args) </span>
						<span id="Codehighlighter1_88_402_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://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_88_402_Open_Text">
								<span style="COLOR: #000000">{<br /></span>
								<span style="COLOR: #008080"> 7</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
										<br />
								</span>
								<span style="COLOR: #008080"> 8</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        String info </span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000">  </span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">elementX1,elementY1,elementZ1</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">
										<br />
								</span>
								<span style="COLOR: #008080"> 9</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />                       </span>
								<span style="COLOR: #000000">+</span>
								<span style="COLOR: #000000">  </span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">\\r\\n</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">
										<br />
								</span>
								<span style="COLOR: #008080">10</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />                       </span>
								<span style="COLOR: #000000">+</span>
								<span style="COLOR: #000000">  </span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">elementX2,elementY2,elementZ2</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">
										<br />
								</span>
								<span style="COLOR: #008080">11</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />                        </span>
								<span style="COLOR: #000000">+</span>
								<span style="COLOR: #000000">    </span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">\\r\\n</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">;<br /></span>
								<span style="COLOR: #008080">12</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />          info </span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> info.replace(</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">\\r\\n</span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">, </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: #008080">13</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        String str[] </span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> info.split(</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: #008080">14</span>
								<span style="COLOR: #000000">
										<img id="Codehighlighter1_364_399_Open_Image" onclick="this.style.display='none'; Codehighlighter1_364_399_Open_Text.style.display='none'; Codehighlighter1_364_399_Closed_Image.style.display='inline'; Codehighlighter1_364_399_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
										<img id="Codehighlighter1_364_399_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_364_399_Closed_Text.style.display='none'; Codehighlighter1_364_399_Open_Image.style.display='inline'; Codehighlighter1_364_399_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        </span>
								<span style="COLOR: #0000ff">for</span>
								<span style="COLOR: #000000"> (</span>
								<span style="COLOR: #0000ff">int</span>
								<span style="COLOR: #000000"> i </span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> </span>
								<span style="COLOR: #000000">0</span>
								<span style="COLOR: #000000">; i </span>
								<span style="COLOR: #000000">&lt;</span>
								<span style="COLOR: #000000"> str.length; i</span>
								<span style="COLOR: #000000">++</span>
								<span style="COLOR: #000000">) </span>
								<span id="Codehighlighter1_364_399_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://www.blogjava.net/images/dot.gif" />
								</span>
								<span id="Codehighlighter1_364_399_Open_Text">
										<span style="COLOR: #000000">{<br /></span>
										<span style="COLOR: #008080">15</span>
										<span style="COLOR: #000000">
												<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />            System.out.println(str[i]);<br /></span>
										<span style="COLOR: #008080">16</span>
										<span style="COLOR: #000000">
												<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />        }</span>
								</span>
								<span style="COLOR: #000000">
										<br />
								</span>
								<span style="COLOR: #008080">17</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />    }</span>
						</span>
						<span style="COLOR: #000000">
								<br />
						</span>
						<span style="COLOR: #008080">18</span>
						<span style="COLOR: #000000">
								<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span>
				</span>
		</div>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">I think it’s a very good idea to solve the problem, if I do it, I may use the split twice.</p>                                                                                          <br />                                                                                          (to be continuted)<br /><img src ="http://www.blogjava.net/ninglee/aggbug/50179.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ninglee/" target="_blank">李宁</a> 2006-06-03 22:33 <a href="http://www.blogjava.net/ninglee/archive/2006/06/03/50179.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>The Directory Constructor of JSP development using Eclipse</title><link>http://www.blogjava.net/ninglee/archive/2006/06/01/49498.html</link><dc:creator>李宁</dc:creator><author>李宁</author><pubDate>Thu, 01 Jun 2006 03:26:00 GMT</pubDate><guid>http://www.blogjava.net/ninglee/archive/2006/06/01/49498.html</guid><wfw:comment>http://www.blogjava.net/ninglee/comments/49498.html</wfw:comment><comments>http://www.blogjava.net/ninglee/archive/2006/06/01/49498.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/ninglee/comments/commentRss/49498.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/ninglee/services/trackbacks/49498.html</trackback:ping><description><![CDATA[
		<div class="postcontent">
				<p align="center">
						<font color="#000000"> By: NingLee<span style="mso-spacerun: yes">   </span>ninglee@mail.csdn.net</font>
				</p>
				<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
						<span lang="EN-US">
								<font face="Times New Roman" color="#000000" size="3">        Keyword: directory structure</font>
						</span>
				</p>
				<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
						<span lang="EN-US">
								<?XML:NAMESPACE PREFIX = O /?>
								<o:p>
										<font face="Times New Roman" color="#000000" size="3">
										</font>
								</o:p>
						</span>
				</p>
				<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
						<span lang="EN-US">
								<font face="Times New Roman" size="3">
										<br />
										<font color="#000000">There are many articles that introduce how to configure the development environment, so I don’t mention it. But in my own experience, I meet the other question, it’s the directory construct of the MVC.</font>
								</font>
						</span>
				</p>
				<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
						<span lang="EN-US">
								<font face="Times New Roman" color="#000000" size="3">M-Model <span style="mso-spacerun: yes">  </span>In this, it refers to the JavaBeans.</font>
						</span>
				</p>
				<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
						<span lang="EN-US">
								<font face="Times New Roman" color="#000000" size="3">V-View<span style="mso-spacerun: yes">    </span>In this, it refers to JSP files</font>
						</span>
				</p>
				<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
						<span lang="EN-US">
								<font face="Times New Roman" color="#000000" size="3">C-Control<span style="mso-spacerun: yes">   </span>In this, it refers to Servlet.</font>
						</span>
				</p>
				<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
						<span lang="EN-US">
								<font face="Times New Roman" color="#000000" size="3">In eclipse with the WTP plug-in or myeclipse(recommended) , you can new a web project, and then new a JSP, and new a servlet if you need, but for the Javabean, you should new a class, and in the following windows select a new package, such as myBean to store the JavaBean.</font>
						</span>
				</p>
				<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
						<span lang="EN-US">
								<font face="Times New Roman" color="#000000" size="3">Now the directory structure is like this:</font>
						</span>
				</p>
				<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
						<span lang="EN-US">
								<o:p>
										<font face="Times New Roman" color="#000000" size="3">
										</font>
								</o:p>
						</span>
				</p>
				<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
						<span lang="EN-US">
								<font face="Times New Roman" size="3">
										<br />
										<font color="#000000">---|WEB-INF |---web.xml<br />    </font>
								</font>
						</span>
						<span lang="EN-US">
								<font face="Times New Roman" color="#000000" size="3">|                |---lib</font>
						</span>
				</p>
				<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
						<span lang="EN-US">
								<font size="3">
										<font face="Times New Roman">
												<font color="#000000">
														<span style="mso-tab-count: 2">    |                </span>|---classes|---myServlet.class (this is the servlet)</font>
										</font>
								</font>
						</span>
				</p>
				<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
						<span lang="EN-US">
								<font size="3">
										<font face="Times New Roman">
												<font color="#000000">
														<span style="mso-tab-count: 4">    |                               </span>|---myBean<span style="mso-spacerun: yes">  </span>---myBean.class<span style="mso-spacerun: yes">  </span>(this is the JavaBean)</font>
										</font>
								</font>
						</span>
				</p>
				<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
						<span lang="EN-US">
								<font face="Times New Roman" color="#000000" size="3">    |JSPs <br /><br /></font>
						</span>
				</p>
				<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
						<font size="3">
								<font color="#000000">
										<span lang="EN-US">
												<font face="Times New Roman">OK, Good Luck </font>
										</span>
										<span lang="EN-US" style="FONT-FAMILY: Wingdings; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-char-type: symbol; mso-symbol-font-family: Wingdings">
												<span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings">J</span>
										</span>
										<span lang="EN-US">
												<font face="Times New Roman"> <br />                                                                                                                           June 1st, 2006</font>
										</span>
								</font>
						</font>
				</p>
		</div>
<img src ="http://www.blogjava.net/ninglee/aggbug/49498.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ninglee/" target="_blank">李宁</a> 2006-06-01 11:26 <a href="http://www.blogjava.net/ninglee/archive/2006/06/01/49498.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>