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


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

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2010/0608

    v13 v14  
    168168 
    169169{{{
    170 cd /opt/tomcat/webapps
    171 jar cvf ~/servlet1.war servlet1/*
    172 }}}
     170cd /opt/tomcat/webapps/servlet1/
     171jar cvf ~/servlet1.war *
     172}}}
     173此處注意不可 ''cd /opt/tomcat/webapps/ ;jar cvf ~/servlet1.war servlet1/* '',因為這樣會多一層servlet1的目錄
    173174
    174175刪除/opt/tomcat/webapps/servlet1/ 整個專案,再重開tomcat
    175 
    176176{{{
    177177rm -rf /opt/tomcat/webapps/servlet1/
     
    333333 == 3.7 測試 ==
    334334 
    335 比較以下網址的不同處:
    336 
     335比較以下網址的不同處
    337336[http://localhost:8080/servlet3/hello.do?user=momor][[br]]
    338337[http://localhost:8080/servlet3/hello.do?user=caterpillar][[br]]
     
    341340
    342341 == 練習 ==
    343 
    344 改寫程式碼,當輸入"user=rock,passwd=123456"時,秀出歐八講的圖片;否則回應帳號密碼錯誤。
     342 改寫程式碼,當輸入 user=rock,passwd=123456時,秀出歐八講的圖片,否則回應帳號密碼錯誤