对于spring配置文件的编写,我想,对于经历过庞大项目的人,都有那种恐惧的心理,太多的配置文件。不过,分模块都是大多数人能想到的方法,但是,怎么分模块,那就是仁者见仁,智者见智了。我的策略是使用import。 基本代码格式如下 web.xml ...... <context-param> <param-name>contextConfigLocation</param-name> <param-value> /WEB-INF/spring-config/applicationContext.xm ...
在使用 spring方法的时候提示 黑线.... 一看是 不建议使用的一个 import org.springframework.web.bind.RequestUtils; 找了下 现在提示使用 import org.springframework.web.bind.ServletRequestUtils;
  • 09:35
  • 浏览 (53)
  • 评论 (0)