上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 203 下一页
摘要: 要将页面信息传递到控制器中,页面组件和控制器的注解、函数参数一定不能写错了,下面是个简单示例,有兴趣的可以参照: html页面: <div class="block-body"> <form action="userRegister" method="post"> <label>用户名</label 阅读全文
posted @ 2021-10-11 21:13 逆火狂飙 阅读(104) 评论(0) 推荐(0)
摘要: 本文例程: https://files.cnblogs.com/files/heyang78/mediaCool_211010pm.rar src/main/resources/templates 这个目录如果不存在就手动创建,它用于放置你要显示的网页 src/main/resources/stat 阅读全文
posted @ 2021-10-10 18:29 逆火狂飙 阅读(700) 评论(0) 推荐(0)
摘要: 刚才在 https://news.cnblogs.com/n/703437/ 上看到有人提到有趣的“睡眠排序”,忽然想到CountDownLatch正好可以用于实现一个。代码如下: package ufo.sleepsort; import java.util.ArrayList; import j 阅读全文
posted @ 2021-10-07 17:08 逆火狂飙 阅读(82) 评论(0) 推荐(0)
摘要: 在我用STS导入一个SpringCloud工程后,启动Application类,出现如下错误: org.springframework.context.ApplicationContextException:Failed to start bean 'eurekaAutoServiceRegstra 阅读全文
posted @ 2021-10-07 15:55 逆火狂飙 阅读(2566) 评论(1) 推荐(0)
摘要: 有这么一个表: create table emp3( id number(8), name nvarchar2(20), deptname nvarchar2(20), salary number(6), primary key(id) ); 可以这样充值: declare d integer; s 阅读全文
posted @ 2021-10-06 20:07 逆火狂飙 阅读(147) 评论(0) 推荐(0)
摘要: 本文适用于SpringBoot2.5.4,Mybatis2.2.0,mybatis-plus3.0.5版本,不保证在其它版本的适用性。 与本文相关的姊妹篇:https://www.cnblogs.com/heyang78/p/15369564.html 本文例程:https://files.cnbl 阅读全文
posted @ 2021-10-06 17:05 逆火狂飙 阅读(8546) 评论(0) 推荐(0)
摘要: 本文适用于SpringBoot2.5.4,Mybatis2.2.0,mybatis-plus3.0.5版本,不保证在其它版本的适用性。 例程下载:https://files.cnblogs.com/files/heyang78/redisCache_LambdaQueryWrapper_211005 阅读全文
posted @ 2021-10-05 20:59 逆火狂飙 阅读(8487) 评论(0) 推荐(0)
摘要: Sample1: with temp AS ( select * from emp where rownum<11) select * from temp Result: SQL> with temp AS ( 2 select * from emp where rownum<11) 3 selec 阅读全文
posted @ 2021-10-05 12:04 逆火狂飙 阅读(1132) 评论(0) 推荐(0)
摘要: 以下实验版本: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit ProductionPL/SQL Release 11.2.0.1.0 - Production 不保证在其它环境也是同样效果。 表结构: create 阅读全文
posted @ 2021-10-05 09:42 逆火狂飙 阅读(43) 评论(0) 推荐(0)
摘要: 前篇讲述了使用Apache的Codec来进行Base64加解密的情况,这回来看直接使用JDK1.8的Base64方案。 代码: import java.nio.charset.StandardCharsets; import java.util.Base64; public class Base64 阅读全文
posted @ 2021-10-05 08:05 逆火狂飙 阅读(208) 评论(0) 推荐(0)
上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 203 下一页
生当作人杰 死亦为鬼雄 至今思项羽 不肯过江东