spring mvc 怎么指定spring.xml的配置文件,在web.xml中指定

2025-03-23 19:40:26
推荐回答(3个)
回答1:

ssmdemo

org.springframework.web.servlet.DispatcherServlet

contextConfigLocation

classpath:spring-mvc.xml

1

true

回答2:

classpath下

回答3:

下载一个项目,自己看看就懂了