如何在applicationcontext.xml中配置Spring MVC详细信息
我是春天的新手,我需要一些建议。我有一个要求,当应用程序关闭时,当用户试图访问应用程序时,我需要显示一条横幅消息。application是基于struts2和springcore(不是springmvc)构建的,但现在我想使用springmvc实现这一更改。编写了在需要时获取数据的逻辑,但我需要关于如何配置细节的详细信息 我写了以下课程:如何在applicationcontext.xml中配置Spring MVC详细信息,spring,spring-mvc,Spring,Spring Mvc,我是春天的新手,我需要一些建议。我有一个要求,当应用程序关闭时,当用户试图访问应用程序时,我需要显示一条横幅消息。application是基于struts2和springcore(不是springmvc)构建的,但现在我想使用springmvc实现这一更改。编写了在需要时获取数据的逻辑,但我需要关于如何配置细节的详细信息 我写了以下课程: MaintenanceInterceptor.java MaintenanceInterceptorDAO.java MaintenanceControlle
请将代码作为代码发布。。。目前它完全不可读。