522-simple

博客园 首页 新随笔 联系 订阅 管理

2020年5月19日 #

摘要: public boolean register(Users user) { Connection con = null; PreparedStatement ps = null; try { con = getConnection(); String sql = "insert into users 阅读全文
posted @ 2020-05-19 13:58 522-simple 阅读(140) 评论(0) 推荐(0) 编辑

2020年5月12日 #

摘要: <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Ins 阅读全文
posted @ 2020-05-12 13:26 522-simple 阅读(107) 评论(0) 推荐(0) 编辑

摘要: <body> 欢迎页面!!!欢迎你!!!<% Users u = (Users) session.getAttribute("user"); out.print(u.getUsername()); MsgDao md=new MsgDao(); List<Msg> list=md.getMailBy 阅读全文
posted @ 2020-05-12 13:24 522-simple 阅读(95) 评论(0) 推荐(0) 编辑

2020年4月23日 #

摘要: public class JDBCUtils { // 获取对象方法 public static Connection getcon() throws Exception { // 注册驱动 Class.forName("com.mysql.jdbc.Driver"); // 获取连接 Connec 阅读全文
posted @ 2020-04-23 11:17 522-simple 阅读(80) 评论(0) 推荐(0) 编辑

2020年4月15日 #

摘要: login.jsp <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); String basePath = request.ge 阅读全文
posted @ 2020-04-15 08:56 522-simple 阅读(93) 评论(0) 推荐(0) 编辑

2020年3月30日 #

摘要: enter.jsp <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transiti 阅读全文
posted @ 2020-03-30 11:07 522-simple 阅读(78) 评论(0) 推荐(0) 编辑

摘要: load.jsp <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitio 阅读全文
posted @ 2020-03-30 10:55 522-simple 阅读(128) 评论(0) 推荐(0) 编辑

2020年3月29日 #

摘要: 一、填空题 1、等价类划分就是将输入数据按照输入需求划分为若干个子集,这些子集称为___等价类_____。 2、等价类划分法可将输入数据划分为_____有效等价类___和___无效等价类_____。 3、____边界值分析法____通常作为等价类划分法的补充。 4、因果图中的__恒等______关系 阅读全文
posted @ 2020-03-29 20:37 522-simple 阅读(296) 评论(0) 推荐(0) 编辑

2020年3月24日 #

摘要: 阅读全文
posted @ 2020-03-24 11:17 522-simple 阅读(105) 评论(0) 推荐(0) 编辑

摘要: main.jsp <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <html> <head> </head> <body> <%!double r = 1, a = 2, b = 3, c = 4;%> <br 阅读全文
posted @ 2020-03-24 10:52 522-simple 阅读(111) 评论(0) 推荐(0) 编辑