In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
First, download tomcat (apache-tomcat-8.5.6)
Put static html pages and related files in a directory, such as directory A
Put the A directory under the..:\ apache-tomcat-8.5.6\ webapps directory.
Specify the tomcat access port number (find the server.xml file in the directory shown in the figure and open it)
5. Find the port port line and change the port number you want to use (as long as it is not occupied) as shown in the figure:
6. Add a line of code at the end of this file, in which the docBase path can be written from tomcat to your A directory (the xml file under A directory is the absolute path of your access address) as shown in the following figure
7. For example, if ip is 192.168.1.188 and port is 8888, if I want to access the start.html under directory A, the access address is: 192.168.1.188:8888/A/strat.html
8. Even if you deploy a static html website to tomcat, it is over.
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.