锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产亚洲欧美中文,日韩精品久久一区二区三区,久久9热精品视频http://www.aygfsteel.com/guohua/category/35390.htmljsp鍗氬zh-cnThu, 23 Oct 2008 06:51:14 GMTThu, 23 Oct 2008 06:51:14 GMT60jsp鏍囩搴撶紪紼?/title><link>http://www.aygfsteel.com/guohua/archive/2008/10/22/236001.html</link><dc:creator>閮叴鍗?/dc:creator><author>閮叴鍗?/author><pubDate>Wed, 22 Oct 2008 11:20:00 GMT</pubDate><guid>http://www.aygfsteel.com/guohua/archive/2008/10/22/236001.html</guid><wfw:comment>http://www.aygfsteel.com/guohua/comments/236001.html</wfw:comment><comments>http://www.aygfsteel.com/guohua/archive/2008/10/22/236001.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/guohua/comments/commentRss/236001.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/guohua/services/trackbacks/236001.html</trackback:ping><description><![CDATA[<a target="_blank"> <hr /> </a><a title="絎旇涓嬭澆" >絎旇涓嬭澆</a><br /> 浠g爜涓嬭澆鍦板潃錛?br /> <a href="/Files/guohua/TaglibProject.rar">/Files/guohua/TaglibProject.rar</a><br /> hello.java<br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #0000ff">package</span><span style="color: #000000"> org.lxh.demo01;<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.io.IOException;<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> javax.servlet.jsp.JspException;<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> javax.servlet.jsp.JspWriter;<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> javax.servlet.jsp.tagext.TagSupport;<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img id="Codehighlighter1_212_592_Open_Image" onclick="this.style.display='none'; Codehighlighter1_212_592_Open_Text.style.display='none'; Codehighlighter1_212_592_Closed_Image.style.display='inline'; Codehighlighter1_212_592_Closed_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_212_592_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_212_592_Closed_Text.style.display='none'; Codehighlighter1_212_592_Open_Image.style.display='inline'; Codehighlighter1_212_592_Open_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.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"> Hello </span><span style="color: #0000ff">extends</span><span style="color: #000000"> TagSupport </span><span id="Codehighlighter1_212_592_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 alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_212_592_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />    @Override<br /> <img id="Codehighlighter1_271_589_Open_Image" onclick="this.style.display='none'; Codehighlighter1_271_589_Open_Text.style.display='none'; Codehighlighter1_271_589_Closed_Image.style.display='inline'; Codehighlighter1_271_589_Closed_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_271_589_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_271_589_Closed_Text.style.display='none'; Codehighlighter1_271_589_Open_Image.style.display='inline'; Codehighlighter1_271_589_Open_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">int</span><span style="color: #000000"> doStartTag() </span><span style="color: #0000ff">throws</span><span style="color: #000000"> JspException </span><span id="Codehighlighter1_271_589_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 alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_271_589_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />        </span><span style="color: #008000">//</span><span style="color: #008000"> 鍚慗SP欏甸潰涓墦鍗?#8220;www.mldn.cn”鐨勫瓧絎︿覆</span><span style="color: #008000"><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="color: #000000">        String str </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">www.mldn.cn</span><span style="color: #000000">"</span><span style="color: #000000"> ;<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />        </span><span style="color: #008000">//</span><span style="color: #008000"> 鍦⊿ervlet閲屽鏋滆鎵撳嵃錛屽垯瑕佷嬌鐢≒rintWriter<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />        </span><span style="color: #008000">//</span><span style="color: #008000"> 濡傛灉鍦ㄦ爣絳懼簱涓墦鍗伴渶瑕佷嬌鐢╬ageContext</span><span style="color: #008000"><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="color: #000000">        JspWriter out </span><span style="color: #000000">=</span><span style="color: #000000"> pageContext.getOut() ;<br /> <img id="Codehighlighter1_449_474_Open_Image" onclick="this.style.display='none'; Codehighlighter1_449_474_Open_Text.style.display='none'; Codehighlighter1_449_474_Closed_Image.style.display='inline'; Codehighlighter1_449_474_Closed_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_449_474_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_449_474_Closed_Text.style.display='none'; Codehighlighter1_449_474_Open_Image.style.display='inline'; Codehighlighter1_449_474_Open_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        </span><span style="color: #0000ff">try</span><span style="color: #000000"> </span><span id="Codehighlighter1_449_474_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 alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_449_474_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            out.println(str);<br /> <img id="Codehighlighter1_498_526_Open_Image" onclick="this.style.display='none'; Codehighlighter1_498_526_Open_Text.style.display='none'; Codehighlighter1_498_526_Closed_Image.style.display='inline'; Codehighlighter1_498_526_Closed_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_498_526_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_498_526_Closed_Text.style.display='none'; Codehighlighter1_498_526_Open_Image.style.display='inline'; Codehighlighter1_498_526_Open_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        }</span></span><span style="color: #000000"> </span><span style="color: #0000ff">catch</span><span style="color: #000000"> (IOException e) </span><span id="Codehighlighter1_498_526_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 alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_498_526_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            e.printStackTrace();<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />        }</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />        </span><span style="color: #008000">//</span><span style="color: #008000"> 鍙鎵撳嵃瀹屼簡瀛楃浼狅紝鍒欏悗闈㈢殑浠g爜灝變笉闇瑕佹墽琛屼簡</span><span style="color: #008000"><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="color: #000000">        </span><span style="color: #0000ff">return</span><span style="color: #000000"> TagSupport.SKIP_BODY;<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />    }</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /></span></div> <br /> hello.jsp<br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000"><%</span><span style="color: #000000">@ page language</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">java</span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #0000ff">import</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">java.util.*</span><span style="color: #000000">"</span><span style="color: #000000"> pageEncoding</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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><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">/WEB-INF/hello.tld</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">lxh</span><span style="color: #000000">"</span><span style="color: #000000">%></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />  </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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000"><</span><span style="color: #000000">title</span><span style="color: #000000">></span><span style="color: #000000">My JSP </span><span style="color: #000000">'</span><span style="color: #000000">hello.jsp</span><span style="color: #000000">'</span><span style="color: #000000"> starting page</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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000"><!--</span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000"><</span><span style="color: #000000">link rel</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">stylesheet</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/css</span><span style="color: #000000">"</span><span style="color: #000000"> href</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">styles.css</span><span style="color: #000000">"</span><span style="color: #000000">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000">--></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />  </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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />  <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />  </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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000"><</span><span style="color: #000000">h1</span><span style="color: #000000">><</span><span style="color: #000000">lxh:mldn</span><span style="color: #000000">/></</span><span style="color: #000000">h1</span><span style="color: #000000">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />  </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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></div> helloxml.jsp <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000"><%</span><span style="color: #000000">@ page language</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">java</span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #0000ff">import</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">java.util.*</span><span style="color: #000000">"</span><span style="color: #000000"> pageEncoding</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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><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">/WEB-INF/hello.tld</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">lxh</span><span style="color: #000000">"</span><span style="color: #000000">%></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />  </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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000"><</span><span style="color: #000000">title</span><span style="color: #000000">></span><span style="color: #000000">My JSP </span><span style="color: #000000">'</span><span style="color: #000000">hello.jsp</span><span style="color: #000000">'</span><span style="color: #000000"> starting page</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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000"><!--</span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000"><</span><span style="color: #000000">link rel</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">stylesheet</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/css</span><span style="color: #000000">"</span><span style="color: #000000"> href</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">styles.css</span><span style="color: #000000">"</span><span style="color: #000000">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000">--></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />  </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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />  <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />  </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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000"><</span><span style="color: #000000">h1</span><span style="color: #000000">><</span><span style="color: #000000">lxh:mldn</span><span style="color: #000000">/></</span><span style="color: #000000">h1</span><span style="color: #000000">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />  </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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></div> hello.tld <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><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">UTF-8</span><span style="color: #000000">"</span><span style="color: #000000">?></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000"><!</span><span style="color: #000000">DOCTYPE taglib PUBLIC </span><span style="color: #000000">"</span><span style="color: #000000">-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN</span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">web-jsptaglibrary_1_2.dtd</span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #000000">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000"><</span><span style="color: #000000">tlib</span><span style="color: #000000">-</span><span style="color: #000000">version</span><span style="color: #000000">></span><span style="color: #000000">1.0</span><span style="color: #000000"></</span><span style="color: #000000">tlib</span><span style="color: #000000">-</span><span style="color: #000000">version</span><span style="color: #000000">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000"><</span><span style="color: #000000">jsp</span><span style="color: #000000">-</span><span style="color: #000000">version</span><span style="color: #000000">></span><span style="color: #000000">2.0</span><span style="color: #000000"></</span><span style="color: #000000">jsp</span><span style="color: #000000">-</span><span style="color: #000000">version</span><span style="color: #000000">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000"><</span><span style="color: #0000ff">short</span><span style="color: #000000">-</span><span style="color: #000000">name</span><span style="color: #000000">></span><span style="color: #000000">hello</span><span style="color: #000000"></</span><span style="color: #0000ff">short</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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000"><</span><span style="color: #000000">tag</span><span style="color: #000000">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #000000"><</span><span style="color: #000000">name</span><span style="color: #000000">></span><span style="color: #000000">mldn</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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #000000"><</span><span style="color: #000000">tag</span><span style="color: #000000">-</span><span style="color: #0000ff">class</span><span style="color: #000000">></span><span style="color: #000000">org.lxh.demo01.Hello</span><span style="color: #000000"></</span><span style="color: #000000">tag</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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #000000"><</span><span style="color: #000000">body</span><span style="color: #000000">-</span><span style="color: #000000">content</span><span style="color: #000000">></span><span style="color: #000000">empty</span><span style="color: #000000"></</span><span style="color: #000000">body</span><span style="color: #000000">-</span><span style="color: #000000">content</span><span style="color: #000000">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000"></</span><span style="color: #000000">tag</span><span style="color: #000000">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></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://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></div> <img src ="http://www.aygfsteel.com/guohua/aggbug/236001.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/guohua/" target="_blank">閮叴鍗?/a> 2008-10-22 19:20 <a href="http://www.aygfsteel.com/guohua/archive/2008/10/22/236001.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SubStringTest.javahttp://www.aygfsteel.com/guohua/archive/2008/10/22/235926.html閮叴鍗?/dc:creator>閮叴鍗?/author>Wed, 22 Oct 2008 05:38:00 GMThttp://www.aygfsteel.com/guohua/archive/2008/10/22/235926.htmlhttp://www.aygfsteel.com/guohua/comments/235926.htmlhttp://www.aygfsteel.com/guohua/archive/2008/10/22/235926.html#Feedback0http://www.aygfsteel.com/guohua/comments/commentRss/235926.htmlhttp://www.aygfsteel.com/guohua/services/trackbacks/235926.html *閫氳繃榪欎釜紼嬪簭錛屽睍紺哄瓧絎︿覆姹傚彇瀛愪覆鐨勬柟娉?br /> */
public class SubStringTest{
public static void main(String[] args){
String str="I am a Programmer";//瀹氫箟瀛楃涓?br /> for(int i=0;i<str.length();i++){
System.out.println("榪欐槸絎?+i+"涓瓙涓詫細"+str.subString(i));
}}}

]]>
CommandInput.javahttp://www.aygfsteel.com/guohua/archive/2008/10/22/235839.html閮叴鍗?/dc:creator>閮叴鍗?/author>Wed, 22 Oct 2008 00:20:00 GMThttp://www.aygfsteel.com/guohua/archive/2008/10/22/235839.htmlhttp://www.aygfsteel.com/guohua/comments/235839.htmlhttp://www.aygfsteel.com/guohua/archive/2008/10/22/235839.html#Feedback0http://www.aygfsteel.com/guohua/comments/commentRss/235839.htmlhttp://www.aygfsteel.com/guohua/services/trackbacks/235839.html *鍛戒護琛屽弬鏁扮殑杈撳叆錛屼粠鍛戒護琛岃緭鍏ョ殑浠諱綍鍙傛暟錛屽浜巎ava鏉ヨ閮芥槸鐢ㄥ瓧絎︿覆澶勭悊鐨?br /> */
public class CommandInput{
public static void main(String[] args){
if(args.length==0){
System.out.println("浣犳病鏈夎緭鍑哄弬鏁幫紝紼嬪簭閫鍑?);

}

else{
System.out.println("浣犱竴鍏辮緭鍏ヤ簡"+args.length+"涓弬鏁?);
if(args[0].equals("h"))
System.out.print("hello");
if(args[0].equals("g"))
System.out.print("Bye-Bye");



for(int i=1;i<args.length;i++)
{
System.out.print("  "+args[i]);

}
}
}
}

]]>
ArraySort.javahttp://www.aygfsteel.com/guohua/archive/2008/10/22/235837.html閮叴鍗?/dc:creator>閮叴鍗?/author>Tue, 21 Oct 2008 23:49:00 GMThttp://www.aygfsteel.com/guohua/archive/2008/10/22/235837.htmlhttp://www.aygfsteel.com/guohua/comments/235837.htmlhttp://www.aygfsteel.com/guohua/archive/2008/10/22/235837.html#Feedback0http://www.aygfsteel.com/guohua/comments/commentRss/235837.htmlhttp://www.aygfsteel.com/guohua/services/trackbacks/235837.html *鏁扮粍鎺掑簭鍙婇殢鏈烘暟鐨勪駭鐢?br /> */
import java.util.Arrays;
import javax.swing.*
public class ArraySort{
public static void main(String[] args){
String strIn=JoptionPane.showInputDialog("璇瘋緭鍏ュ伐鍏卞灝戜釜褰╃悆錛?);
String strOut=JOptionPane.showInputDialog("璇瘋緭鍏ラ渶鎶藉彇澶氬皯涓僵鐞冿細");
int in=Integer.parseInt(strIn);
int[] total=new int[in];//鐢熸垚褰╃悆鎬繪暟鏁扮粍
for(int i=0;i<in;i++){
total[i]=i+1;
}
int[] out=new int[Integer.parseInt(strOut)];
for(int i=0;i<out.length;i++){
int r=(int)Math.random()*in;//浜х敓闅忔満鍏冪礌搴忓垪鍙?br /> out[i]=total[r];
total[r]=total[in-1];//灝嗘渶鍚庝竴涓厓绱犵Щ鍒板綋鍓嶄綅緗紝鎶婂彇鍑虹殑鍒犻櫎
in--;

System.out.print(" "+out[i]);}
Arrays.sort(out);
System.out.println("鎶藉彇鐨勬暟瀛楁帓搴忓悗鏄細");
for (int i=0;i<out.length;i++){
System.out.print(" "+out[i]);
}
System.exit(0);
}}

]]>
ArrayInitTest.javahttp://www.aygfsteel.com/guohua/archive/2008/10/22/235834.html閮叴鍗?/dc:creator>閮叴鍗?/author>Tue, 21 Oct 2008 22:30:00 GMThttp://www.aygfsteel.com/guohua/archive/2008/10/22/235834.htmlhttp://www.aygfsteel.com/guohua/comments/235834.htmlhttp://www.aygfsteel.com/guohua/archive/2008/10/22/235834.html#Feedback0http://www.aygfsteel.com/guohua/comments/commentRss/235834.htmlhttp://www.aygfsteel.com/guohua/services/trackbacks/235834.html *閫氳繃榪欎釜紼嬪簭錛屾祴璇曟暟緇勫厓绱犻粯璁ゅ?br /> */
public class ArrayInitTest{
public static void main(String[] args)
{
ArrayInitTest aTest=new ArrayInitTest();
int[] a=new int[10];//澹版槑涓涓柊鐨勬暣鏁版暟緇勶紝騫惰祴鍊間笌涓涓柊鐨勬暟緇勫彉閲?br /> aTest.println(a);//杈撳嚭鏁扮粍鍏冪礌鍒版帶鍒跺彴
boolean[] c=new boolean[10];//澹版槑涓涓柊鐨勫竷灝旀暟緇?br /> aTest.pprintln(c);
}
public void printInt(int[] array){
System.out.println(" 鏁存暟鍨嬫暟緇勭殑闀垮害鏄?"+array.length);
for(int i=0;i<5;i++){
array[i]=i;
}
System.out.println(" 鏁扮粍涓殑姣忎釜鍏冪礌鏄細 ");
for(int i=0;i<array.length;i++){
System.out.println("  "+array[i]);//鎵撳嵃鍑烘暟緇勪腑鐨勬瘡涓涓厓绱?br /> }
System.out.println("\n******************************");
}
public void printString(String[] array){
System.out.println(" 瀛楃鍨嬫暟緇勭殑闀垮害鏄?"+array.length);
for(int i=0;i<5;i++){
array[i]="鍏冪礌"+i;
}
System.out.println(" 鏁扮粍涓殑姣忎釜鍏冪礌鏄細 ");
for(int i=0;i<array.length;i++){
System.out.println(" "+array[i]);//鎵撳嵃鍑烘暟緇勪腑鐨勬瘡涓涓厓绱?br /> }
System.out.println("\n****************************");
}
public void printBoolean(boolean[] array){
System.out.println(" 甯冨皵鍨嬫暟緇勭殑闀垮害鏄?"錛媋rray.legnth);
for(int i=0;i<5;i++){
if(i%2==0)
array[i]=true;
else
array[i]=false;
}
System.out.println(" 鏁扮粍涓殑姣忎釜鍏冪礌鏄? ");
for (int i=0;i<array.length;i++){
System.out.print("  "+array[i]);//鎵撳嵃鍑烘暟緇勪腑鐨勬瘡涓涓厓绱?br /> }
System.out.println("\n**********************************");

}}

]]>
ArrayCopy.javahttp://www.aygfsteel.com/guohua/archive/2008/10/21/235776.html閮叴鍗?/dc:creator>閮叴鍗?/author>Tue, 21 Oct 2008 13:13:00 GMThttp://www.aygfsteel.com/guohua/archive/2008/10/21/235776.htmlhttp://www.aygfsteel.com/guohua/comments/235776.htmlhttp://www.aygfsteel.com/guohua/archive/2008/10/21/235776.html#Feedback0http://www.aygfsteel.com/guohua/comments/commentRss/235776.htmlhttp://www.aygfsteel.com/guohua/services/trackbacks/235776.html *嫻嬭瘯鏁扮粍鍏冪礌鐨勬嫹璐?br /> */
public class ArrayCopy{
public static void main(String[] args){
ArrayCopy aCopy=new ArrayCopy();
int[] a={1,2,3,4,5};
int[] b={10,20,30,40,50};
aCopy.copy(a,b);
}
public void copy(int[] from,int[] to){
System.out.println("絎竴涓暟緇勪腑鐨勫厓绱?);
for(int i=0;i<from.length;i++){
System.out.println("   "+from[i]);
}System.out.println("\n");
System.out.println("絎簩涓暟緇勪腑鐨勫厓绱?);
for(int i=0;i<to.length;i++){
System.out.println("   "+to[i]);//鎵撳嵃鍑烘暟緇勪腑鐨勬瘡涓涓厓绱?br /> }
System.out.println("\n\n灝嗙涓涓暟緇勬嫹璐濆埌絎簩涓暟緇刓n");
System.arraycopy(from,2,to,0,3);
System.out.println("鎷瘋礉瀹屾垚鍚庣浜屼釜鏁扮粍涓殑鍏冪礌");
for(int i=0;i<to.length;i++){
System.out.println("  "+to[i]);//鎵撳嵃鍑烘暟緇勪腑鐨勬瘡涓涓厓绱爙}}

]]>
主站蜘蛛池模板: 安塞县| 满城县| 平昌县| 太湖县| 河西区| 巩留县| 苍溪县| 遂平县| 申扎县| 喀喇沁旗| 珠海市| 安泽县| 郓城县| 乌兰县| 乡宁县| 滦南县| 营山县| 历史| 班玛县| 招远市| 曲松县| 龙门县| 麻江县| 兖州市| 米易县| 五莲县| 铁岭市| 高台县| 个旧市| 光山县| 安岳县| 呼伦贝尔市| 义马市| 交口县| 得荣县| 海兴县| 齐齐哈尔市| 马尔康县| 定州市| 广丰县| 西安市|