我尝试在每个jsp页面的页脚中显示我在Spring4中构建的应用程序的版本。我想从.properties文件中读取值并将其输出到footer.jsp,它将在每个页面上继承。它没有像我希望的那样工作,我在调试时遇到了很大的困难。 InternalResourceViewResolver viewResolver = new Int
我的Spring版本为5.x,tomcat版本为8.5,因此根据介绍,它们将支持在不使用web.xml的情况下运行的web应用程序,但我得到了404个错误,请参见下面的项目结构:我使用这个urlimport org.springframework.context.annotation.Configuration;@ComponentScan("spittr.web")
public class We