Your location:Tech News>News>Script>_ Power structure consisting of directory node of the Tomcat Java web application Finishing School

Latest News

_ Power structure consisting of directory node of the Tomcat Java web application Finishing School

Author:fsadmin

Views:

  What is the composition of the structure of web applications?Simply put, each file is how to store site.

  When developing web applications, different types of files stored there are strict rules,

  May cause the web application when misplaced files inaccessible, it may also lead to a web server startup error.

  web application forms of organization:

  1) to build a web application root folder, such as MyWeb, you should set xxx.html, xxx.jsp, xxx.css, xxx.js the like into the inside MyWeb

  2) built in the MyWeb folder WEB-INF // Note that the file name must be the WEB-INF, a word can not be wrong

  The web.xml file into the WEB-INF inside // web.xml configuration file for the web application

  3) Built in WEN-INF folder classes // classes folder java class used to store web applications used

  4) build a folder lib // lib files in the WEB-INF folder used to store the required Java class files to run jar

  

  You may also be interested in the article: Tomcat Tomcat directory structure detailed architecture with plug-in configuration tomcat directory structure illustrated tutorial introduction _ power node Tomcat Java finishing college overall structure brief

Recommend article

Relate article