Changes between Version 12 and Version 13 of waue/2010/0608


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

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2010/0608

    v12 v13  
    3535  * 專案目錄將呈現以下結構
    3636 
    37   || /opt/tomcat/webapps/servlet1 || || || || ||
     37  || /opt/tomcat/webapps/servlet1/ || || || || ||
    3838  || + || WEB-INF/ || || || ||
    3939  || || - || web.xml ||  ||  ||
    40   || || + || classes ||  ||  ||
     40  || || + || classes/ ||  ||  ||
    4141  || || || - || HelloServlet.java ||  ||
    4242 
     
    204204  * 專案目錄將呈現以下結構
    205205 
    206   || /opt/tomcat/webapps/servlet3 || || || || ||
     206  || /opt/tomcat/webapps/servlet3/ || || || || ||
    207207  || - || hello.jsp|| || || ||
    208208  || + || WEB-INF/ || || || ||
    209209  || || - || web.xml ||  ||  ||
    210   || || + || classes ||  ||  ||
     210  || || + || classes/ ||  ||  ||
    211211  || || || - || HelloServlet.java ||  ||
    212212  || || || - || Hello.java ||  ||
     
    333333 == 3.7 測試 ==
    334334 
    335 比較以下網址的不同處
    336 [http://localhost:8080/servlet3/hello.do?user=momor]
    337 [http://localhost:8080/servlet3/hello.do?user=caterpillar]
    338 [http://localhost:8080/servlet3/hello.do?user=Justin]
    339 [http://localhost:8080/servlet3/hello.do?user=waue]
     335比較以下網址的不同處:
     336
     337[http://localhost:8080/servlet3/hello.do?user=momor][[br]]
     338[http://localhost:8080/servlet3/hello.do?user=caterpillar][[br]]
     339[http://localhost:8080/servlet3/hello.do?user=Justin][[br]]
     340[http://localhost:8080/servlet3/hello.do?user=waue][[br]]
    340341
    341342 == 練習 ==
    342  改寫程式碼,當輸入 user=rock,passwd=123456時,秀出歐八講的圖片,否則回應帳號密碼錯誤
     343
     344改寫程式碼,當輸入"user=rock,passwd=123456"時,秀出歐八講的圖片;否則回應帳號密碼錯誤。