上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 26 下一页
摘要: Spring定时器注解方式的实现 Spring定时器注解方式的实现需要添加一下配置 1.首先要配置我们的spring.xml Xmlns中需要配置: xmlns:task="http://www.springframework.org/schema/task" 然后xsi:schemaLocatio 阅读全文
posted @ 2018-11-08 10:00 albert_think 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(241) 评论(0) 推荐(0) 编辑
摘要: public static ResponseBean getByPostData(String url,Map<String,Object> params) throws ClientProtocolException, URISyntaxException, IOException { RestT 阅读全文
posted @ 2018-10-25 11:46 albert_think 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 一、 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 阅读(237) 评论(0) 推荐(0) 编辑
摘要: //1.得取文件 String contexPath= request.getSession().getServletContext().getRealPath("/"); String filePath=contexPath+"spring"+File.separator+"xx.html"; F 阅读全文
posted @ 2018-10-11 08:58 albert_think 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 1.得到file String contexPath= request.getSession().getServletContext().getRealPath("/"); String filePath=contexPath+"spring"+File.separator+"400.html"; 阅读全文
posted @ 2018-09-27 15:46 albert_think 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1389) 评论(0) 推荐(0) 编辑
摘要: 自己生成一个ssl证书,因为是自己生成的所以该证书,不被浏览器信任(具体表现https前面有个X) 然后修改tomcat配置文件server.xml 通过curl访问,就忽略验证证书这一步 这样浏览器访问就相对安全了,浏览器和服务端进行了非对称加密的握手,然后协商对称加密的密钥,然后进行相对快速的对 阅读全文
posted @ 2018-03-19 14:06 albert_think 阅读(670) 评论(0) 推荐(0) 编辑
摘要: 存储过程越来越多的应用到项目当中了,不罗嗦了先来看看JAVA怎么从oracle接收对象数组。 Sql代码 --建立oracle对象 CREATE OR REPLACE TYPE PERSON AS OBJECT ( --如果你执意使用VARCHAR2有一定几率出现乱码和ASCII码(貌似和驱动有关) 阅读全文
posted @ 2018-03-16 17:35 albert_think 阅读(648) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 26 下一页