Web Access notes directly from a domain name

Source: Internet
Author: User


Web. xml: Content

<?xml version="1.0" encoding="UTF-8"?><web-app version="2.5"     xmlns="http://java.sun.com/xml/ns/javaee"     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee     http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">  <welcome-file-list>    <welcome-file>a.html</welcome-file>  </welcome-file-list></web-app>

Two:

Modify port number to 80 port number:

    -->    <Connector port="80" protocol="HTTP/1.1"               connectionTimeout="20000"               redirectPort="8443" />

To modify the virtual path:

       <Host name="www.systest.com"  appBase="d:\home">           <Context path=""  docBase="d:\home\mail"/>            </Host>

Add Host

# Localhost (DO NOT REMOVE) Start#127.0.0.1 localhost127.0.0.1   www.systest.com

To start Tomcat:

Web Access notes directly from a domain name

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.