I have created a new web project to practice. After web.xml has written the configuration, visit servlet.
500 errors were reported the first time you visited servlet, and 404 errors were reported the second time.
first time:
:
web.xml:
ask the great god what this is all about.