servlet two configuration methods

Reference blog

servlet two configuration methods are 1, arranged in web.xml; 2, add annotation servlet class file, it is noted, in this way only in web.xml version = "3.0" or higher, in order to use

Guess you like

Origin www.cnblogs.com/liyanghui/p/10984429.html