Web
Janloong
You have to work very hard to look effortless.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
tomcat 学习
tomcat体系结构Author : Janloong Do_O结构基础原创 2017-12-20 10:16:28 · 267 阅读 · 0 评论 -
http协议头信息概述
http协议头信息概述Author : Janloong Do_O响应头发送数据,使用gzip压缩数据提升性能请求头信息:Accept: 浏览器告诉服务端, 浏览器可接受的MIME类型 MIME类型: 相当于操作系统下的文件类型。是由大类型和小类型组成: text/html; 对应的关系在conf/web.xml中查询Accept-Charset: 浏览器告诉服务端, 浏览器支持哪原创 2017-12-19 14:57:23 · 282 阅读 · 0 评论 -
solr 安装配置学习记录
solrAuthor : Janloong Do_O solr版本 : solr 7.0.0 +常规安装部署目录结构 目录 文件 描述 bin 脚本命令目录 solr and solr.cmd 启动脚本 solr.in.sh and solr.in.cmd 启动参数配置文件 i原创 2017-12-21 09:54:39 · 365 阅读 · 0 评论 -
thymeleaf 学习记录
thymeleafAuthor : Janloong Do_Ospringboot 配置spring.thymeleaf.cache=true # Enable template caching.spring.thymeleaf.check-template=true # Check that the template exists before rendering it.sp原创 2017-12-21 09:53:54 · 758 阅读 · 0 评论 -
SpringMVC请求注解梳理
SpringMVC请求梳理Author : Janloong Do_O无注解请求 可以处理 表单提交 和json 提交 处理基本类型和对象类型 (不包含list map)requestBody 一般处理非application/x-www-form-urlencoded 处理的唯对应的所有参数,因此类中请求参数只能为1个 不适用于原创 2017-12-21 09:46:20 · 287 阅读 · 0 评论 -
spring-boot web测试层学习记录
spring boot web层测试Author : Janloong Do_O依赖注入 org.springframework.boot spring-boot-starter-test test测试层controller基础测试 单次测试,实例化context一次 ,多次测试间不共用context,每次生成一个 若需要多原创 2017-12-21 09:45:15 · 456 阅读 · 0 评论 -
spring 测试层学习记录
springmvc web层测试Author : Janloong Do_O基础依赖test依赖 junit junit ${junit.version} test org.hamcrest hamcrest-core 1.3 test org.mo原创 2017-12-20 10:22:17 · 201 阅读 · 0 评论 -
servlet 学习记录
Author : Janloong Do_Oservlet 生命周期 单实例 多线程构造方法只会调用一次,在第一次访问,即通过反射创建servlet对象的时候init只会调用一次service创建成功后多次调用destoryservlet 停止的时候调用servlet url配置/代表工程路径只配/ 代表此servlet是原创 2017-12-20 10:19:01 · 185 阅读 · 0 评论 -
tomcat 错误记录
错误整理Author : Janloong Do_O非root用户启动tomcat,端口配置为80时 Failed to initialize end point associated with ProtocolHandler ["http-bio-80"]java.net.BindException: Permission denied (Bind failed) :80原创 2017-12-20 10:17:16 · 252 阅读 · 0 评论 -
https协议使用配置概述
https协议使用配置概述Author : Janloong Do_Ossl Secure socket layer一般网站使用https需要去CA机构生成证书内部使用# 生成一个RSA密钥$ openssl genrsa -des3 -out ssltest.key 1024# 拷贝一个不需要输入密码的密钥文件$ openssl rsa -in ssltest.key -out sslt原创 2017-12-19 15:01:15 · 508 阅读 · 0 评论
分享