会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
albert_think
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
26
下一页
2018年11月8日
spring 定时器(一)
摘要: Spring定时器注解方式的实现 Spring定时器注解方式的实现需要添加一下配置 1.首先要配置我们的spring.xml Xmlns中需要配置: xmlns:task="http://www.springframework.org/schema/task" 然后xsi:schemaLocatio
阅读全文
posted @ 2018-11-08 10:00 albert_think
阅读(216)
评论(0)
推荐(0)
2018年10月27日
模拟登录
摘要: import com.bootdo.common.domain.LogDO;import com.bootdo.common.domain.PageDO;import com.bootdo.common.service.LogService;import com.bootdo.common.util
阅读全文
posted @ 2018-10-27 15:26 albert_think
阅读(267)
评论(0)
推荐(0)
2018年10月25日
RestTemplate 乱码
摘要: public static ResponseBean getByPostData(String url,Map<String,Object> params) throws ClientProtocolException, URISyntaxException, IOException { RestT
阅读全文
posted @ 2018-10-25 11:46 albert_think
阅读(345)
评论(0)
推荐(0)
2018年10月17日
httpUtil(二)
摘要: import java.util.List;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import org.apache.log4j.Logger;import
阅读全文
posted @ 2018-10-17 16:13 albert_think
阅读(177)
评论(0)
推荐(0)
httpUtil
摘要: 一、 import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader;import java.net.URISyntaxException;import java.nio.charset.C
阅读全文
posted @ 2018-10-17 15:11 albert_think
阅读(247)
评论(0)
推荐(0)
2018年10月11日
读模板
摘要: //1.得取文件 String contexPath= request.getSession().getServletContext().getRealPath("/"); String filePath=contexPath+"spring"+File.separator+"xx.html"; F
阅读全文
posted @ 2018-10-11 08:58 albert_think
阅读(137)
评论(0)
推荐(0)
2018年9月27日
读取文件
摘要: 1.得到file String contexPath= request.getSession().getServletContext().getRealPath("/"); String filePath=contexPath+"spring"+File.separator+"400.html";
阅读全文
posted @ 2018-09-27 15:46 albert_think
阅读(171)
评论(0)
推荐(0)
2018年3月21日
cxf 报错 ctory.setFeature(Ljava/lang/String;Z)V
摘要: 018/03/21 13:43:44 DEBUG [http-8080-2] (Headers.java/323) -Accept: */*nfcstore:2018/03/21 13:43:44 DEBUG [http-8080-2] (HTTPConduit.java/1793) -No Tru
阅读全文
posted @ 2018-03-21 14:01 albert_think
阅读(1449)
评论(0)
推荐(0)
2018年3月19日
linux tomcat配置https
摘要: 自己生成一个ssl证书,因为是自己生成的所以该证书,不被浏览器信任(具体表现https前面有个X) 然后修改tomcat配置文件server.xml 通过curl访问,就忽略验证证书这一步 这样浏览器访问就相对安全了,浏览器和服务端进行了非对称加密的握手,然后协商对称加密的密钥,然后进行相对快速的对
阅读全文
posted @ 2018-03-19 14:06 albert_think
阅读(680)
评论(0)
推荐(0)
2018年3月16日
存储过程返回二维数组(二)
摘要: 存储过程越来越多的应用到项目当中了,不罗嗦了先来看看JAVA怎么从oracle接收对象数组。 Sql代码 --建立oracle对象 CREATE OR REPLACE TYPE PERSON AS OBJECT ( --如果你执意使用VARCHAR2有一定几率出现乱码和ASCII码(貌似和驱动有关)
阅读全文
posted @ 2018-03-16 17:35 albert_think
阅读(668)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
26
下一页
公告