Tomcat
Java 撰寫的資料庫與網頁的連動
Download Tomcat
Tomcat 下載 http://tomcat.apache.org/index.html
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
解壓縮
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
其中
bin – 資料夾主要是存放Tomcat服務啟動相關的執行檔及相關設定。
conf – 資料夾主要是存放Tomcat伺服器相關的設定。
webapps – 資料夾主要是存放Tomcat管理網站及日後開發好的JSP網站佈署的地方。
logs – 資料夾主要是存放Tomcat日誌檔存放的地方
新增參數
新增"JAVA_HOME"和"JRE_HOME"和"CATELINA_HOME"三個屬性
方法1.
進入bin資料夾,找到setclasspath.bat這個檔案,在該檔案上按滑鼠右鍵,選"編輯"。
set JAVA_HOME=D:\Program\Java\jdk1.6.0_41
set JRE_HOME=D:\Program\Java\jre7
其中"JRE_HOME"的路徑是JAVA JDK安裝時的預設路徑,
如果你的預設路徑不同,或JDK版本不同,
請修改相關路徑。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
方法2.
直接設成windows系統的環境變數
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
啟動Tomcat
通常設定到這裡就可以正常啟動Tomcat,
在apache-tomcat-6.0.36\bin裡的
startup.bat滑鼠按兩下
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
在瀏覽器上輸入 http://localhost:8080/
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →