摘要: package com.gd.servlet; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpS 阅读全文
posted @ 2022-05-29 20:17 王智达 阅读(17) 评论(0) 推荐(0) 编辑
摘要: <%@page import="com.gd.dao.MsgDao"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <he 阅读全文
posted @ 2022-05-22 21:35 王智达 阅读(8) 评论(0) 推荐(0) 编辑
摘要: package com.gd.dao; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import ja 阅读全文
posted @ 2022-05-15 21:46 王智达 阅读(21) 评论(0) 推荐(0) 编辑
摘要: package zhuce2; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class DbUtil { static { try { Class.fo 阅读全文
posted @ 2022-05-08 19:04 王智达 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1.做一个图书类Book id,name,price ,get,set访问器,构造方法2个,1个无参,1个有参做一个测试类,在main中创建3个图书对象,放到list集合中。做一个菜单,可以添加,删除,修改,查询 package demo2; import java.util.ArrayList; 阅读全文
posted @ 2022-05-01 18:27 王智达 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 1. <%-- Created by IntelliJ IDEA. User: 97442 Date: 2022/4/24 Time: 20:05 To change this template use File | Settings | File Templates. --%> <%@ page 阅读全文
posted @ 2022-04-24 20:26 王智达 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 1. <%@ page contentType="text/html;charset=UTF-8" language="java" %> <html> <head> <title>$Title$</title> </head> <body> <% double price = 98.78; %> < 阅读全文
posted @ 2022-04-17 18:49 王智达 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 1. <%-- Created by IntelliJ IDEA. User: 97442 Date: 2022/3/21 Time: 16:13 To change this template use File | Settings | File Templates. --%> <%@ page 阅读全文
posted @ 2022-04-08 13:57 王智达 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 1.任务一、教材P39实验3 <%-- Created by IntelliJ IDEA. User: 97442 Date: 2022/3/21 Time: 16:13 To change this template use File | Settings | File Templates. -- 阅读全文
posted @ 2022-04-03 15:31 王智达 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 1.环境搭建,运行出来一个JSP页面,显式hello <%-- Created by IntelliJ IDEA. User: 97442 Date: 2022/3/21 Time: 16:13 To change this template use File | Settings | File T 阅读全文
posted @ 2022-03-21 19:16 王智达 阅读(12) 评论(0) 推荐(0) 编辑