最佳答案
我需要在应用程序中注册一个额外的 servlet。然而,使用 SpringBoot 和它的 JavaConfig,我不能只在 web.xml文件中添加 servlet 映射。
如何添加其他 servlet?