摘要: 注解实现SpringMvc步骤: 配置Web.xml文件 配置springmvc-servlet.xml文件 编写Controller控制器实现类 编写对应的jsp文件 运行tomcat执行结果 代码如下: Web.xml: 1 <?xml version="1.0" encoding="UTF-8 阅读全文
posted @ 2020-03-13 10:48 静静吃榴莲 阅读(177) 评论(0) 推荐(0)
摘要: 第一:写第一个SpringMvc之前先弄了解他究竟是什么?为什么要学习它? Spring MVC是Spring Framework的一部分,是基于Java实现MVC的轻量级Web框架。 查看官方文档:https://docs.spring.io/spring/docs/5.2.0.RELEASE/s 阅读全文
posted @ 2020-03-13 09:50 静静吃榴莲 阅读(167) 评论(0) 推荐(0)