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