Changes between Version 10 and Version 11 of waue/2009/0806
- Timestamp:
- Aug 6, 2009, 5:40:24 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
waue/2009/0806
v10 v11 114 114 115 115 * 瀏覽: [http://localhost:8080/test/hello.jsp ] 116 117 == 2.2 使用 war檔 == 118 119 下載 [http://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/sample.war sample.war]到 120 {{{ 121 #!text 122 /opt/tomcat/webapps/ 123 }}} 124 125 重新啟動tomcat 126 127 {{{ 128 /etc/init.d/tomcat restart 129 }}} 130 131 * 注意: 132 * sample.war 檔 放到/opt/tomcat/webapps/ 下,tomcat會動解開webapps下的war成該目錄資料夾,此時在網址內打該資料夾名稱 133 * test/test.jsp卻是放在/opt/tomcat/webapps/ROOT下, 134 * 若放了war檔載webapps內,重新啟動tomcat,就會看到被解開的資料夾在 webapps內 135