随笔分类 - Java相关 / 快速查找组
常用网址,快速回忆容易遗忘知识点
摘要:request.setAttribute和request.getAttribute;; request.getSession().setAttribute和request.getSession().getAttribute(); 区别:作用域不同 request.getAttribute()只能在一
阅读全文
摘要:实现热部署,项目或者页面修改以后:Ctrl+F9 实时生效 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</o
阅读全文
摘要:@Conditional;@ConditionalOnClass;@ConditionalOnBean;@Configuration;@Bean;@Component;@Import;@EnableConfigurationProperties ;@ConfigurationProperties
阅读全文
摘要:1)下载git安装包 官网下载:https://git-scm.com/download/win 镜像下载(淘宝镜像):http://npm.taobao.org/mirrors/git-for-windows/ 2)安装 可以装在和tomcat,maven等同一个目录下,其他步骤直接下一步即可 3
阅读全文
摘要:1.springMVC中文乱码过滤器 <!--springmvc过滤器,防止乱码--> <filter> <filter-name>CharacterEncodingFilter</filter-name> <filter-class>org.springframework.web.filter.C
阅读全文
摘要:(1)${pageContext.request.contextPath} 参考链接:https://www.cnblogs.com/zshibo/p/8011514.html ${pageContext.request.contextPath}是JSP取得绝对路径的方法,等价于<%=request
阅读全文
摘要:前端: Bootstrap:https://www.bootcss.com/ Bootstrap可视化布局系统: https://www.bootcss.com/p/layoutit/ jQuery API 3.5.1 速查表:https://jquery.cuishifeng.cn/index.h
阅读全文
摘要:req.getRequestDispatcher req.getRequestDispatcher里面封装了当前位置 假如下面这个servlet路径为:/smbms/jsp/user.do 所以当前的路径为:/smbms/jsp,因此,下面的语句跳转的路径是:/smbms/jsp/pwdmodify
阅读全文
浙公网安备 33010602011771号