01 2023 档案

配置之映射器说明
摘要: 阅读全文

posted @ 2023-01-31 16:44 大风吹过12138 阅读(17) 评论(0) 推荐(0) 编辑

配置之别名优化
摘要: 阅读全文

posted @ 2023-01-31 16:21 大风吹过12138 阅读(16) 评论(0) 推荐(0) 编辑

配置之属性优化
摘要: 阅读全文

posted @ 2023-01-31 16:17 大风吹过12138 阅读(12) 评论(0) 推荐(0) 编辑

Map和模糊查询拓展
摘要: 阅读全文

posted @ 2023-01-30 15:08 大风吹过12138 阅读(15) 评论(0) 推荐(0) 编辑

增删改查实现
摘要:public class UserDaoTest { @Test public void test() { SqlSession sqlSession = MybatisUtils.getSqlSession(); UserMapper userMapper = sqlSession.getMapp 阅读全文

posted @ 2023-01-30 12:43 大风吹过12138 阅读(23) 评论(0) 推荐(0) 编辑

第一个Mybatis程序
摘要:maven配置问题解决 <build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> <include>**/*.properties</inclu 阅读全文

posted @ 2023-01-29 12:56 大风吹过12138 阅读(12) 评论(0) 推荐(0) 编辑

什么是Mybatis
摘要: 阅读全文

posted @ 2023-01-28 23:08 大风吹过12138 阅读(11) 评论(0) 推荐(0) 编辑

反射操作注解
摘要: 阅读全文

posted @ 2023-01-27 23:58 大风吹过12138 阅读(10) 评论(0) 推荐(0) 编辑

性能对比分析
摘要: 阅读全文

posted @ 2023-01-27 16:23 大风吹过12138 阅读(1) 评论(0) 推荐(0) 编辑

动态创建对象执行方法
摘要: 阅读全文

posted @ 2023-01-27 15:16 大风吹过12138 阅读(11) 评论(0) 推荐(0) 编辑

获取运行时类的完整结构
摘要: 阅读全文

posted @ 2023-01-27 13:25 大风吹过12138 阅读(10) 评论(0) 推荐(0) 编辑

获取类的运行时结构
摘要: 阅读全文

posted @ 2023-01-26 23:53 大风吹过12138 阅读(4) 评论(0) 推荐(0) 编辑

分析类初始化
摘要:听不懂 阅读全文

posted @ 2023-01-26 22:52 大风吹过12138 阅读(10) 评论(0) 推荐(0) 编辑

类加载内存分析
摘要: 阅读全文

posted @ 2023-01-26 22:01 大风吹过12138 阅读(15) 评论(0) 推荐(0) 编辑

所有类型的Class对象
摘要: 阅读全文

posted @ 2023-01-26 21:02 大风吹过12138 阅读(15) 评论(0) 推荐(0) 编辑

得到Class类的几种方式
摘要: 阅读全文

posted @ 2023-01-26 20:36 大风吹过12138 阅读(14) 评论(0) 推荐(0) 编辑

获得反射对象
摘要: 阅读全文

posted @ 2023-01-26 17:36 大风吹过12138 阅读(7) 评论(0) 推荐(0) 编辑

反射概述
摘要: 阅读全文

posted @ 2023-01-26 17:14 大风吹过12138 阅读(20) 评论(0) 推荐(0) 编辑

自定义注解
摘要: 阅读全文

posted @ 2023-01-26 16:52 大风吹过12138 阅读(14) 评论(0) 推荐(0) 编辑

元注解
摘要: 阅读全文

posted @ 2023-01-26 15:52 大风吹过12138 阅读(19) 评论(0) 推荐(0) 编辑

内置注解
摘要: 阅读全文

posted @ 2023-01-25 15:36 大风吹过12138 阅读(13) 评论(0) 推荐(0) 编辑

什么是注解
摘要: 阅读全文

posted @ 2023-01-25 14:57 大风吹过12138 阅读(3) 评论(0) 推荐(0) 编辑

smbms登录流程实现
摘要: 阅读全文

posted @ 2023-01-19 03:48 大风吹过12138 阅读(18) 评论(0) 推荐(0) 编辑

prapareStatement对象
摘要:查询 删除 新增 更新 防止sql注入 阅读全文

posted @ 2023-01-18 21:07 大风吹过12138 阅读(14) 评论(0) 推荐(0) 编辑

smbms项目搭建
摘要:数据库公共类代码,实际上就是将获取数据库连接以及增删改查资源关闭等操作进行封装,调用时就不必再进行重复操作 public class BaseDao { private static String url; private static String username; private static 阅读全文

posted @ 2023-01-18 00:09 大风吹过12138 阅读(29) 评论(0) 推荐(0) 编辑

JDBC对象解释
摘要: 阅读全文

posted @ 2023-01-17 17:06 大风吹过12138 阅读(8) 评论(0) 推荐(0) 编辑

JDBC
摘要:详细操作步骤 阅读全文

posted @ 2023-01-17 16:51 大风吹过12138 阅读(9) 评论(0) 推荐(0) 编辑

Filter实现权限拦截
摘要:登录页面 <html> <head> <title>Title</title> </head> <body> <h1 style="color: coral">登录</h1> <form action="${pageContext.request.contextPath}/servlet/login 阅读全文

posted @ 2023-01-17 02:21 大风吹过12138 阅读(22) 评论(0) 推荐(0) 编辑

过滤器Filter
摘要:public class CharacterEncodingFilter implements Filter { @Override public void init(FilterConfig filterConfig) throws ServletException { System.out.pr 阅读全文

posted @ 2023-01-16 17:41 大风吹过12138 阅读(9) 评论(0) 推荐(0) 编辑

MVC三层架构
摘要:mvc三层架构 架构讲解 阅读全文

posted @ 2023-01-16 15:44 大风吹过12138 阅读(12) 评论(0) 推荐(0) 编辑

JavaBean
摘要: 阅读全文

posted @ 2023-01-16 15:15 大风吹过12138 阅读(14) 评论(0) 推荐(0) 编辑

JSP,JSTL标签
摘要:if判断标签 choose选择 for循环标签 阅读全文

posted @ 2023-01-16 00:15 大风吹过12138 阅读(10) 评论(0) 推荐(0) 编辑

JSP内置对象及作用域
摘要: 阅读全文

posted @ 2023-01-15 22:23 大风吹过12138 阅读(11) 评论(0) 推荐(0) 编辑

JSP基础语法和指令
摘要: 阅读全文

posted @ 2023-01-15 19:03 大风吹过12138 阅读(17) 评论(0) 推荐(0) 编辑

JSP
摘要:jsp中的Java代码应该是执行输出 重要!!!! 阅读全文

posted @ 2023-01-14 21:26 大风吹过12138 阅读(18) 评论(0) 推荐(0) 编辑

Session
摘要:Session还可以通过setAttribute()保存用户信息 req.setCharacterEncoding("utf-8"); resp.setCharacterEncoding("utf-8"); resp.setHeader("Content-type","text/html;chars 阅读全文

posted @ 2023-01-14 17:47 大风吹过12138 阅读(65) 评论(0) 推荐(0) 编辑

Cookie讲解
摘要:给cookie设置有效期 显示访问时间 public class CookieDemo01 extends HttpServlet { @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) t 阅读全文

posted @ 2023-01-13 22:31 大风吹过12138 阅读(19) 评论(0) 推荐(0) 编辑

Request应用
摘要:<body> <h1>登录</h1> <div > <form action="${pageContext.request.contextPath}/login" method="post"> 用户名:<input type="text" name="username"><br> 密码:<input 阅读全文

posted @ 2023-01-13 16:15 大风吹过12138 阅读(18) 评论(0) 推荐(0) 编辑

response重定向
摘要:public class RedirectServlet extends HttpServlet { @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletExce 阅读全文

posted @ 2023-01-13 15:50 大风吹过12138 阅读(22) 评论(0) 推荐(0) 编辑

response验证码实现
摘要:public class ImageServlet extends HttpServlet { @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletExcepti 阅读全文

posted @ 2023-01-13 12:13 大风吹过12138 阅读(15) 评论(0) 推荐(0) 编辑

response下载
摘要:先通过FileInPutSteam的read(byte[])方法(单纯的read()方法是一次写入一个字节,返回值为asscm值,参数为字节数组的read方法返回值尾数组长度)写入数组,再通过resp的getOutPutStream创建一个文件输出流,通过write(byte[])方法将字节数组中的 阅读全文

posted @ 2023-01-11 20:45 大风吹过12138 阅读(50) 评论(0) 推荐(0) 编辑

FIleOutStream
摘要:指定路径如果没有文件会自动创建文件,然后通过write方法写入字节或者加数组写入字符串 阅读全文

posted @ 2023-01-11 19:39 大风吹过12138 阅读(14) 评论(0) 推荐(0) 编辑

FileInputStream
摘要:FileInputsteam通过文件路径指向文件,在程序中为程序的载体 第一种 单纯read方法返回assicma值,所以转换成char可以直接输出 第二种括号括号里加数组的,是将数据读取暂存在数组中,循环读取数组长度的数据输出,方法返回值为读取的数据长度 阅读全文

posted @ 2023-01-11 17:44 大风吹过12138 阅读(82) 评论(0) 推荐(0) 编辑

IO流原理和分类
摘要: 阅读全文

posted @ 2023-01-11 17:10 大风吹过12138 阅读(14) 评论(0) 推荐(0) 编辑

servletContext应用
摘要:配置初始化参数 <context-param> <param-name>url</param-name> <param-value>woshishabi:;</param-value> </context-param> 获取并输出 public class ServletDemo03 extends 阅读全文

posted @ 2023-01-10 22:27 大风吹过12138 阅读(17) 评论(0) 推荐(0) 编辑

ServletContext
摘要:public class HelloServlet extends HttpServlet { @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletExcepti 阅读全文

posted @ 2023-01-08 23:24 大风吹过12138 阅读(22) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示