Changes between Version 14 and Version 15 of waue/2010/0608


Ignore:
Timestamp:
Jun 8, 2010, 5:15:05 PM (14 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2010/0608

    v14 v15  
    320320javac -cp /opt/tomcat/lib/servlet-api.jar ./Hello.java
    321321javac -cp /opt/tomcat/lib/servlet-api.jar:. ./HelloServlet.java
    322 
    323322}}}
    324323 上面的步驟順序很重要,並且在編譯HelloServlet 時,classpath 必須引入本身目錄,否則會出現錯誤訊息:找不到Hello這個symbol
     
    333332 == 3.7 測試 ==
    334333 
    335 比較以下網址的不同處
     334比較以下網址的不同處:
     335
    336336[http://localhost:8080/servlet3/hello.do?user=momor][[br]]
    337337[http://localhost:8080/servlet3/hello.do?user=caterpillar][[br]]