Running in
Tomcat 7.x, I type
http://localhost/MyApp/ServletOne, then ServletOne is invoked. Why not ServletTwo?
i. Configuration specified in the main web.xml or a web fragment takes
precedence over the configuration specified via annotations.
In the servlet3.0 spec page 103, doesn't it mean web.xml is prior to annotation when there is conflict? Is it a bug for Tomcat?
OK, so that other guy knows Java better than I do, but I bet he can't speak Wuhanese(a Chinese Dialect) like me.