会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
柯南剧场版
管理
上一页
1
···
8
9
10
11
12
13
14
下一页
2021年8月28日
定义常量类
摘要: /** * 用户常量信息 * * @author wjs * @date 2019/6/5 */ public interface UserConstants { /** * 正常状态 */ public static final String NORMAL = "0"; /** * 异常状态 */
阅读全文
posted @ 2021-08-28 20:47 柯南剧场版
阅读(78)
评论(0)
推荐(0)
2020年11月12日
自定义mybatis工具类
摘要: 由上一篇文章《mybatis入门》演变到这一篇文章 1.我们看一下原始的mybatis框架使用过程 public class MybatisTest { public static void main(String[] args) throws IOException { //1.读取mybatis
阅读全文
posted @ 2020-11-12 23:24 柯南剧场版
阅读(121)
评论(0)
推荐(0)
mybatis入门
摘要: 恢复内容开始 恢复内容开始 1.创建一个项目,在项目中引入mybatis框架的jar包和mysql数据库驱动包。 2.创建一个接口(持久层),用于查询数据库。 代码如下: /** * 数据层 * */public interface PersonDao { //查询所有Person数据 public
阅读全文
posted @ 2020-11-12 22:49 柯南剧场版
阅读(78)
评论(0)
推荐(0)
2020年11月11日
文件下载
摘要: 1.创建Servlet类继承HttpServlet类 /** * 文件下载 * */@WebServlet("/test13")public class ServletTest13 extends HttpServlet { protected void doGet(HttpServletReque
阅读全文
posted @ 2020-11-11 20:21 柯南剧场版
阅读(145)
评论(0)
推荐(0)
通过response设置定时刷新页面
摘要: 1.创建Servlet类继承HttpServlet类 @WebServlet("/test12")public class ServletTest12 extends HttpServlet { protected void doGet(HttpServletRequest request, Htt
阅读全文
posted @ 2020-11-11 18:19 柯南剧场版
阅读(369)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
下一页