Write in front:
When I recently published the project, I want to modify the contents of the Web. xml file, and then I have a comment in the Web. xml file, but on the server, it says the code is different. I didn't pay much attention either. Continue to start the server, but visit the site, has been an error. is very depressed, compare to the tool than the two Web. xml files, except that a comment has garbled, there is no difference. And then I took out the garbled comment because the comment at this time is garbled on the server because the code is different I do not know the coding of different garbled comments can also have this operation??????? Restart the server and the problem is resolved. Depressed AH. So. Everyone should pay attention to this problem. If you have problems, try to keep debugging.
Web. xml file--coding considerations