Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Where is the wed folder of the virtual host

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article uses simple and easy-to-understand examples to introduce you to the wed folder of the virtual host. The content is very detailed. Interested friends can refer to it for reference. I hope it can help you.

WEB folder is used to store website programs, which store web files. So if your virtual host uploads a website program for website creation, then use FTP tool to connect to the virtual host and you will see the web folder.

WEB Application directory: generally including jsp, html, css, js, java programs, supported jar packages, configuration files, etc. In the WEB application composition structure, different files are stored with strict storage rules, and the WEB application directory includes:

(1) html,jsp,css,js files: generally stored in the WEB application root directory, the root directory files can be directly accessed by the outside world.

(2) WEB-INF directory: java class, jar package, web application configuration file, files under this directory cannot be directly accessed by the outside world, and are called by the web server.

A) Classes directory (java class)

B) lib directory (jar package required for java class runtime)

C) web.xml file (web application configuration file) is the most important file of the whole web application. As long as it involves the configuration and management of web resources in development, it can be implemented through this file. It can be written according to the skim specification, or it can find a similar copy configuration.

Note: If you create a new web application under webapp, if the application has java classes, you must create a WEB-INF directory, then create a class folder below, create a.class file below, write java programs in the file, create a lib folder at the same level as the class folder to put jar packages, and create a web.xml file at the same level as the class folder and lib folder.

About the virtual host wed folder where to share here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see 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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report