摘要:
##1、新建一个Moudle , springmvc-02-hello , 添加web的支持! 2、确定导入了SpringMVC 的依赖! 3、配置web.xml , 注册DispatcherServlet <?xml version="1.0" encoding="UTF-8"?> <web-ap 阅读全文
摘要:
##资源过滤 <build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> < 阅读全文
摘要:
##1.确定 maven lib 导入正确 ##2.配置web.xml , 注册DispatcherServlet <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" x 阅读全文