上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: public static String test(String paramter){ try{ URL url = new URL("http://127.0.0.1:8056/api?paramter="+paramter); //调用URL对象的openConnection( )来获取HttpURLConnection对象实例 HttpURLConnection conn = (HttpUR 阅读全文
posted @ 2019-08-19 10:40 lazyli 阅读(1130) 评论(0) 推荐(0) 编辑
摘要: oClassDefFoundError发生在编译时对应的类可用,而运行时在Java的classpath路径中,对应的类不可用导致的错误。通过查找资料,容易发生此类异常的原因是: - 类依赖的class或者jar不存在 - 类文件存在,但是存在不同的域中1. 对应的Class在java的classpa 阅读全文
posted @ 2019-08-13 18:06 lazyli 阅读(25835) 评论(0) 推荐(0) 编辑
摘要: public static String partAnalysis(String uuid){ try{ URL url = new URL("http://10.9.1.179:8055/analysis/partRishRule?uuid="+uuid); //调用URL对象的openConnection( )来获取HttpUR... 阅读全文
posted @ 2019-07-18 10:46 lazyli 阅读(2680) 评论(0) 推荐(0) 编辑
摘要: 代码优化问题:1、需要使用对象中的属性值,且是重复调用的;不要放到循环中,避免不断的读取对象(也就是读取内存),降低程序的效率;List<Student> list = xxx;for(int i = 0;i<list.size();i++){ }修改后:List<student> list = x 阅读全文
posted @ 2019-07-15 10:38 lazyli 阅读(121) 评论(0) 推荐(0) 编辑
摘要: public class ParseHtmlImage { //从html文本中解析img中图片路径 public static String[] getImgs(String content) { String img = ""; Pattern p_image; Matcher m_image; St... 阅读全文
posted @ 2019-07-12 16:19 lazyli 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 文件上传 上传文件: 上传文件: 下载文件 阅读全文
posted @ 2019-07-11 17:44 lazyli 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 图片上传后台 阅读全文
posted @ 2019-07-11 17:40 lazyli 阅读(562) 评论(0) 推荐(0) 编辑
摘要: --> --> --> ... 阅读全文
posted @ 2019-07-11 11:17 lazyli 阅读(581) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2019-07-11 11:16 lazyli 阅读(184) 评论(0) 推荐(0) 编辑
摘要: #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections ... 阅读全文
posted @ 2019-07-10 17:46 lazyli 阅读(1920) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页