<P> <a href="/pathname/">Maintaining State for HTML Form Buttons</a> by Matthias Laux <br>Here's the scoop on using JavaServer Pages custom tags to maintain button state in your HTML forms. <i>(October 2002)</i> </p>
相反,下面這個例子在“Laux”和“Here’s”之間使用了回車,以確保源文件更加易于理解。
<P> <a href="/pathname/">Maintaining State for HTML Form Buttons</a> by Matthias Laux <br>Here's the scoop on using JavaServer Pages custom tags to maintain button state in your HTML forms. <i>(October 2002)</i> </p>
val變量是一個標志,用于指示一個匹配是否是其類別中的第一個,并且由此判定是必須重新建立一個匹配序列,還是在已有的序列上繼續搜索。 results變量也是一個標志變量,用于指示是否找到匹配。假如沒有任何匹配,則在返回頁上向用戶返回一個消息。 File inputFile = new File("/pathname/searchpage.html"); in = new RandomaccessFile(inputFile, "r");