JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » Java Certification  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友    訂閱主題
reply to postflat modego to previous topicgo to next topic
作者 有關servlet destroy的問題

發文: 39
積分: 0
於 2004-10-21 12:11 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
The destroy method of a servlet instance is executing as part of a Web application. Which two are always true?

A.No more requests will be routed to that servlet instance
B.Any JDBC connections the servlet instance holds have bean closed
C.A servlet container timeout on the servlet instance have bean exceeded
D.The service method has executed at least once in the servlet instance
E.All threads running in the service method of that servlet instance have completed execution

我選的答案是DE 正確答案是AE
service method不是只要有request時,就會執行嗎?所以應該至少會執行一次阿,為什麼d不對

reply to postreply to post
人氣 標題 作者 字數 發文時間
2365 有關servlet destroy的問題 yanyonyuen 569 2004-10-21 12:11
2137 Re:有關servlet destroy的問題 systempanic 704 2004-10-21 13:12
1239 Re:有關servlet destroy的問題 lester 196 2008-03-30 14:48
» JWorld@TW »  Java Certification

reply to postflat modego to previous topicgo to next topic
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8