摘要: #url处理映射器的三种方式 ##1. BeanNameUrlHandlerMapping 通过url名字,找到对应的bean的名字进行映射 <bean class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping" 阅读全文
posted @ 2021-09-09 23:08 LanceYa 阅读(59) 评论(0) 推荐(0)
摘要: ##spring官方文档介绍 Spring lets you define multiple contexts in a parent-child hierarchy. The applicationContext.xml defines the beans for the "root webapp 阅读全文
posted @ 2021-09-09 18:14 LanceYa 阅读(89) 评论(0) 推荐(0)
摘要: #截图 #原因 idea未加载Tomcat下的jsp-api.jar和servlet-api.jar包 #解决思路: ##1.添加本地的TomCat去重新加载一下 步骤:File->Project Structure →Dependencies →Library →Appliaction Serve 阅读全文
posted @ 2021-09-09 17:35 LanceYa 阅读(450) 评论(0) 推荐(0)
摘要: 1、点击Run-Edit Configurations... 2、点击左侧“+”,选择Tomcat Server--Local 3.在Tomcat Server中点击 Configuration ,找到本地 Tomcat 服务器,再点击 OK按钮。 至此,IntelliJ IDEA配置Tomcat完 阅读全文
posted @ 2021-09-09 11:08 LanceYa 阅读(119) 评论(0) 推荐(0)
摘要: #MVC模式 MVC:MVC是一种设计模式,例如经典的JSP{Jsp+Javabean+Servlet} MVC的原理图 分析: M-Model 模型(完成业务逻辑:有javaBean构成,service+dao+entity) V-View 视图(做界面的展示 jsp,html……) C-Cont 阅读全文
posted @ 2021-09-09 09:53 LanceYa 阅读(847) 评论(0) 推荐(0)