上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 61 下一页
摘要: import java.nio.ByteBuffer; import io.netty.bootstrap.ServerBootstrap; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelFuture; import io.netty.chan... 阅读全文
posted @ 2019-05-27 13:05 石shi 阅读(2965) 评论(0) 推荐(0) 编辑
摘要: pom中添加: logback日志的配用: 阅读全文
posted @ 2019-05-26 20:57 石shi 阅读(5555) 评论(0) 推荐(2) 编辑
摘要: Spring工作流程: 文件上传的处理: 解析参数的过滤器: 转换http动作的: 错误页面信息: 解决方法: 代码: 阅读全文
posted @ 2019-05-26 19:30 石shi 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 压缩:(可以吧要排除的文件去掉) 解压:(可以对要解压的文件进行操作,转换在lambda中加方法中就行) 压缩排除文件夹的调用: 排除的文件: 阅读全文
posted @ 2019-05-24 17:20 石shi 阅读(1263) 评论(0) 推荐(1) 编辑
摘要: 做一个上传并解压的功能,解压完了回调,解压多少文件。搞了半天用Ajax.BeginForm。各种坑,后来直接放弃 去掉这个吧,后台获取不到文件名,加上吧不执行回调,这个真。。。(真心想用,但是搞不定)哪个园友可以解决,请留言 换种方法吧 如下: 后台 阅读全文
posted @ 2019-05-24 16:33 石shi 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 为什么用Spring Boot,这个和.net 太相似了(配置方面啊),不用配置。 创建方式: 项目结构: Spring Boot目录结构: 打印日志的测试,内嵌容器。 将内嵌容器替换成jetty: 替换成 这个替换成上面的 修改端口: mybatis-config.xml中的配置: 这个地方是分层 阅读全文
posted @ 2019-05-23 14:15 石shi 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 多生产者模型: 多消费者: 读读共享、读写互斥、写写互斥 LockSupport : 线程池: AQS架构: 阅读全文
posted @ 2019-05-22 20:57 石shi 阅读(930) 评论(0) 推荐(0) 编辑
摘要: Netty的简单使用: aio代码: bio: nio: 阅读全文
posted @ 2019-05-22 12:49 石shi 阅读(297) 评论(0) 推荐(0) 编辑
摘要: java: jsp页面: 调用: 阅读全文
posted @ 2019-05-19 19:28 石shi 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Disruptor VS BlockingQueue的压测对比: BlockingQueue测试: 1.建立一个工厂Event类,用于创建Event类实例对象 2.需要有一个jian监听事件类,用于处理数据(Event类) 3.实例化Disruptor实例,配置一系列参数,编写DisDisrupto 阅读全文
posted @ 2019-05-15 21:35 石shi 阅读(3725) 评论(0) 推荐(2) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 61 下一页