我正在研究Java Servlet,我很好奇为什么Apache Software基础会摆脱web.xml并让程序员使用注释.使用注释比使用web.xml更好吗?它们之间有什么区别?
web.xml
java annotations servlets
annotations ×1
java ×1
servlets ×1