Common reasons for 404 errors when accessing Web applications __web

Source: Internet
Author: User
A The resource being accessed does not exist
Common reasons are HTML, JSP, servlet file does not exist

B <Host> Configuration Error in Server.xml
Common causes are appbase configuration errors

C <Context> Configuration Error in Server.xml
Common errors have docbase configuration errors, the value of the Path property does not begin with "/"

D Servlet-class Configuration Error in Web.xml
The value of the servlet-class is not the same as the Web-inf/classes directory, the class name, and the web-inf/classes

E. Url-pattern Configuration Error in Web.xml
The value of the Url-pattern property does not begin with "/"

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.