蓝旗子


  • 首页

  • 分类

  • 标签

  • 归档

  • 关于

  • 导航

  • 搜索

okhttp的使用方法 http, https

发表于 2016-08-22 | 更新于: 2018-10-18
字数统计: 650 | 阅读时长 ≈ 3
okhttp的项目主页https://github.com/square/okhttp 介绍页 http://square.github.io/okhttp/ 使用方法以maven为例:           com.squareup.okhttp3   okhttp ...
阅读全文 »

添加tomcat管理用户的方法

发表于 2016-08-05 | 更新于: 2018-10-18
字数统计: 231 | 阅读时长 ≈ 1
添加tomcat管理用户的方法,在tomct-users.xmld的users节点下添加如下代码: 添加一个角色 manager-gui, 分配给用户tomcat该角色。 Note that for Tomcat 6.0.30 onwards, the roles required to u ...
阅读全文 »

jekins构建maven项目

发表于 2016-08-02 | 更新于: 2018-10-18
字数统计: 424 | 阅读时长 ≈ 1
jekins可以方便的构建项目,节省人力而且不易出错。 所需软件: jekins 下载https://jenkins.io/ maven tomcat svn 一个maven项目 下载完jekins的war包后,编写一条bat脚本, start http://localhost:9090java - ...
阅读全文 »

springboot jdbc(mysql)

发表于 2016-07-26 | 更新于: 2018-10-18
字数统计: 286 | 阅读时长 ≈ 1
pom.xml <?xml version=”1.0” encoding=”UTF-8”?> 4.0.0 com.example springboot 0.0.2 org.springframework.boot spring ...
阅读全文 »

springboot初探

发表于 2016-07-26 | 更新于: 2018-10-18
字数统计: 217 | 阅读时长 ≈ 1
系统要求: jdk7+(推荐jdk8) maven 3 eclipse或其他编辑器 用eclipse创建一个maven项目(quick-start). 编写pom.xml <?xml version=”1.0” encoding=”UTF-8”?> 4.0.0 ...
阅读全文 »

使用grunt压缩js/css文件

发表于 2016-07-23 | 更新于: 2018-10-18
字数统计: 304 | 阅读时长 ≈ 1
首先需要安装node.js, 可参考 http://www.gruntjs.net/getting-started 安装cli npm install -g grunt-cli 安装grunt npm install -g grunt 创建Gruntfile.js module.exports = ...
阅读全文 »

eclipse中class反编译插件jadclipse的使用

发表于 2016-07-22 | 更新于: 2018-10-18
字数统计: 128 | 阅读时长 ≈ 1
jad是java的一个反编译工具,和eclipse插件jadclipse结合可以在eclipse中查看class文件的源码。 具体操作: 将net.sf.jadclipse_3.3.0.jar拷贝到eclipse的plugins文件夹中,将jad.exe放到任一文件夹中,记住存放路径。 重新打开 ...
阅读全文 »

使用nginx后程序获取来源ip的方法

发表于 2016-07-21 | 更新于: 2018-10-18
字数统计: 427 | 阅读时长 ≈ 2
首先nginx的配置需要开启传递来源ip, proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_fo ...
阅读全文 »

idea快捷键

发表于 2016-07-16 | 更新于: 2018-10-18
字数统计: 395 | 阅读时长 ≈ 1
Alt+回车 导入包,自动修正Ctrl+N 查找类Ctrl+Shift+N 查找文件Ctrl+Alt+L 格式化代码 Ctrl+Alt+O 优化导入的类和包Alt+Insert 生成代码(如get,set方法,构造函数等)Ctrl+E或者Alt+Shift+C 最近更改的代码Ctrl+R 替 ...
阅读全文 »

The JRE could not be found.Edit the server and change the JR

发表于 2016-07-16 | 更新于: 2018-10-18
字数统计: 89 | 阅读时长 ≈ 1
在更换jdk时,eclipse中tomcat会报The JRE could not be found.Edit the server and change the JRE location,导致无法启动。非常奇怪,我已经更改了java->run time中jdk版本,但是好像不起作用。 解决方 ...
阅读全文 »
1…121314…32
Caigen Lee

Caigen Lee

315 日志
8 分类
42 标签
GitHub
© 2017 — 2018 Caigen Lee | Site words total count: 148.8k
主题 — NexT.Muse
0%