Review Jsp/servlet Technology

Source: Internet
Author: User
Tags tomcat server

Chapter One Dynamic Web Development Foundation

The Tomcat Directory Authority/bin a script file for starting and stopping Tomcat under various platforms/conf the various configuration files that hold the Tomcat server/lib the various jar files required to store the Tomcat server/logs Log files for Tomcat/temp the Tomcat runtime is used to hold temporary files/webapps web App publish directory/work Tomcat stores the servlet generated by JSP in this directory tomcat Configuration of the port number (1) locate its subdirectory under the Tomcat Directory Authority conf (2) Open the Servlet.xml file in the Conf directory (3) in the open file, locate the <Connector> node, Then modify the port number (4) Save the directory structure of the Web App/web app's root directory, all files in that directory are accessible to clients, including JSP, Html/web-inf store all the resources used by the application, the directory and its subdirectories Not accessible to clients, including Web. XML (Deployment descriptor)/web-inf/classes Store app uses all class files/web-inf/lib store jar files used by WEB apps during Tomcat's run, Tomcat The class loader first loads the class file under the classes directory and then loads the classes under the Lib directory.   It is important to note that if a class with the same name exists in both directories, the class under the classes directory has precedence.     Configure the Start Access page <welocme-file-list> <welcome-file>index.xml</welcome-file> </welocme-file-list> JSP page Element composition 

Review Jsp/servlet Technology

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.