Changes between Version 2 and Version 3 of waue/2010/0603


Ignore:
Timestamp:
Jun 3, 2010, 5:57:20 PM (14 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2010/0603

    v2 v3  
    5656   2. 對於 OOP 觀念不熟的人來說,可能會誤以為在 JSP 裡面存取的 "age" 屬性,就是類別定義裡面的那個宣告為 private 成員(age),其實兩者只有字面上相同而已,實際運作是可以毫無關聯的,因為 JSP 完全是透過 getter 和 setter 方法來存取屬性,況且外界本來就無法存取類別的私有成員。
    5757
     58 *  作者給的原始碼,其中判斷質數的範例可以 work ,而其他跟 servlet 溝通的範例則永遠都顯示 "從 servlet 傳來的訊息: null " ,與作者要印出的hello world 有出入
    5859
    5960 = 參考 =