1.啟動tomcat服務
安裝目錄下:tomcat/bin,如下,輕按兩下"Tomcat9.exe"
彈出視窗,不要關掉
浏覽器打開:http://localhost:8080/
如下頁面代表啟動成功
2.運作web項目
把web項目放到tomcat安裝目錄的webapps目錄下,如下所示:
浏覽器打開“http://localhost:8080/ +web項目目錄+頁面”,例如:http://localhost:8080/layuimini-2/index.html
安裝目錄下:tomcat/bin,如下,輕按兩下"Tomcat9.exe"
彈出視窗,不要關掉
浏覽器打開:http://localhost:8080/
如下頁面代表啟動成功
把web項目放到tomcat安裝目錄的webapps目錄下,如下所示:
浏覽器打開“http://localhost:8080/ +web項目目錄+頁面”,例如:http://localhost:8080/layuimini-2/index.html