
在idea中怎么快速配置spring
2个回答
展开全部
在web.xml中配置SpringMVC拦截路径并指定SpringMVC.xml的位置 不指定的话默认为:servlet.xml
在applicationContext.xml中加入引用
在SpringMVC.xml中加入相同的引用 加入Spring注解驱动 加入Controller的包
指定SpringMVC.xml的视图解析器 返回前缀 后缀
在applicationContext.xml中加入引用
在SpringMVC.xml中加入相同的引用 加入Spring注解驱动 加入Controller的包
指定SpringMVC.xml的视图解析器 返回前缀 后缀
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询