上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 73 下一页
摘要: 推荐版本:jdk1.8.0_351 版本:jdk1.8.0_181 环境:CentOS 8.0 64bit 1. 下载,解压 2.在/usr/新建java ,vm 把解压的jdk剪贴进去java 3.vim /etc/profile 编辑一下这个文件,最末尾添加下面内容↓,如果提示已读的,那么你就管 阅读全文
posted @ 2022-03-27 14:51 咸瑜 阅读(278) 评论(0) 推荐(0)
摘要: 自己检查看下注解@Service什么什么的配正确没, 主要是这个情况: 监听器里面注入,监听器肯定比发现组件先啊,废话都知道是null啦,所以啊 写个工具类GetBean即可。 阅读全文
posted @ 2022-03-24 09:41 咸瑜 阅读(40) 评论(0) 推荐(0)
摘要: @RequestParam 可以获取get 和 post 的请求携带的某个参数,但是如果是post 请求,那么不能是json格式哦,希望你懂得。 get我都不加这些玩意的....直接自动填充好吗? 阅读全文
posted @ 2022-03-19 21:09 咸瑜 阅读(71) 评论(0) 推荐(0)
摘要: usr/bin下: fdfs_trackerd /etc/fdfs/tracker.conf usr/bin下:fdfs_storaged /etc/fdfs/storage.conf 查看是都启动:ps aux|grep storageps aux|grep tracker 测试上传:/usr/b 阅读全文
posted @ 2022-03-18 19:14 咸瑜 阅读(77) 评论(0) 推荐(0)
摘要: <div class="wrap-input100 validate-input m-t-85 m-b-35"> <input class="input100" type="text" id="username" name="username" placeholder="用户名"> <span cl 阅读全文
posted @ 2022-03-17 08:44 咸瑜 阅读(205) 评论(0) 推荐(0)
摘要: /* 取消長按討厭的背景色 */ -webkit-tap-highlight-color: rgba(255, 255, 255, 0); -webkit-user-select: none; -moz-user-focus: none; -moz-user-select: none; *{} 包裹 阅读全文
posted @ 2022-03-16 17:21 咸瑜 阅读(93) 评论(0) 推荐(0)
摘要: 谁用这玩意啊...服了 画了一个小时总结: 1. 他的url 不能用 127.0.0.1 已经 loaclhosy 只能用自己本机IP ,自己IPconfig 查询 2.他的url一定要带上http://协议头。http 和 https都可以 以上2点没满足!那么就等这回调error错误把,而且没任 阅读全文
posted @ 2022-03-16 15:57 咸瑜 阅读(32) 评论(0) 推荐(0)
摘要: LOMBOK注解修改set方法默认返回值 @Accessors(chain=true) 阅读全文
posted @ 2022-03-16 10:21 咸瑜 阅读(282) 评论(0) 推荐(0)
摘要: AJAX轮训、Long pull 、webscocket ,,,看到是用第三者哈. 我可是成年人!我全都要!啊哈哈哈哈哈哈哈!【自嗨一下】 为什么不用前2者,自己百度其原理即可,下面最用webscocket 把: 后端代码: 首先是启动类哈: public class WSServer { publ 阅读全文
posted @ 2022-03-15 10:39 咸瑜 阅读(48) 评论(0) 推荐(0)
摘要: 强烈推荐去弄懂Netty流程,再来写这个代码: /** * 实现客户端发送一个请求,服务器返回信息 * [主从线程模型] */ public class HelloServer { public static void main(String[] args) throws InterruptedEx 阅读全文
posted @ 2022-03-15 09:25 咸瑜 阅读(128) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 73 下一页