会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
不详·Christina
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
26
27
28
29
30
31
32
33
34
···
40
下一页
2020年11月13日
每日随笔
摘要: 今天学习了新的页面跳转方法 req.getRequestDispatcher("名称.jsp").forward(req, resp);
阅读全文
posted @ 2020-11-13 19:43 不详·Christina
阅读(30)
评论(0)
推荐(0)
2020年11月12日
每周总结
摘要: 变量命名问题,多个变量后面用数字表示区别很容易乱,在传值过后如果报错,很难去找到冲突地点,以后命名尽量将名字的区分度做的大一点
阅读全文
posted @ 2020-11-12 20:36 不详·Christina
阅读(53)
评论(0)
推荐(0)
2020年11月11日
每日随笔
摘要: 今天学习了session函数,它分为setAttribute和getAttribute,通过set他可以将它定义为全局变量,而通过get可以在jsp页面获取他 session.setAttribute("list", list);
阅读全文
posted @ 2020-11-11 19:29 不详·Christina
阅读(48)
评论(0)
推荐(0)
2020年11月10日
每日随笔
摘要: 重写了查找函数,查找比其他三个还要难一些,其中next函数有关键作用 public classes select(int id) { String sql = "select * from classes where id='" + id + "'"; Connection conn = DBUti
阅读全文
posted @ 2020-11-10 20:56 不详·Christina
阅读(41)
评论(0)
推荐(0)
2020年11月9日
每日随笔
摘要: 今天学习了用查找函数返回查找完成的数组 public List<classes> Select() { String sql = "select * from classes"; Connection conn = DBUtil_Classes.getConnection(); PreparedSt
阅读全文
posted @ 2020-11-09 19:20 不详·Christina
阅读(33)
评论(0)
推荐(0)
2020年11月8日
每日随笔
摘要: 今天系统的学习了对数据库查看的语句,用途为查重 public boolean chachong(String a) { Connection connection = mql.getConnection(); PreparedStatement preparedStatement = null; b
阅读全文
posted @ 2020-11-08 20:26 不详·Christina
阅读(28)
评论(0)
推荐(0)
2020年11月7日
每日随笔
摘要: 今天学习了hidden标签,这个标签对于传值有很大帮助,可以将用户的账号传过去,而不允许用户修改,甚至不允许用户看见 <input type="hidden" value=“id”>
阅读全文
posted @ 2020-11-07 20:15 不详·Christina
阅读(29)
评论(0)
推荐(0)
2020年11月6日
每日随笔
摘要: 今天重写了form表单,其中对一些操作不是很熟悉,例如多选框,单选框等 <tr> <td>性别:</td> <td><input type="radio" name="sex" checked="checked">男 <!-- 单选 --> <input type="radio" name="sex
阅读全文
posted @ 2020-11-06 21:13 不详·Christina
阅读(32)
评论(0)
推荐(0)
2020年11月5日
每周总结
摘要: 今天对对数据库的添加做了练习,对其中语句的意义进行了查询 public void add(student stu) { Connection connection = DUBI_Student/* 连接数据库文件名 */.getConnection(); System.out.println(con
阅读全文
posted @ 2020-11-05 20:23 不详·Christina
阅读(32)
评论(0)
推荐(0)
2020年11月4日
每日随笔
摘要: 今天在页面跳转时出现了问题,原因是input标签的submit出现了问题,onclick的优先级小于submit <td><input type="submit" value="添加" onclick="javascript:form.action='doaddteacher.jsp'"></td>
阅读全文
posted @ 2020-11-04 19:08 不详·Christina
阅读(42)
评论(0)
推荐(0)
上一页
1
···
26
27
28
29
30
31
32
33
34
···
40
下一页
公告