JavaWeb ------ using Tomcat server publishing a web site

  • 1. Start the Tomcat server
  • 2. To establish their own access to folders, note must be under the webapps directory (Tomcat server default access port is webapps)

Here Insert Picture Description

    1. Write your own page code

Here Insert Picture Description

  • 4. For example, I want to access your own html page, this time I want to lose at the following address
    Here Insert Picture Description
    Here Insert Picture Description
    can be found inside the access path does not show webapps , To change the default access path you need to change the system
Published 80 original articles · won praise 7 · views 4769

Guess you like

Origin blog.csdn.net/y18791050779/article/details/104877810