摘要: package cn.itcast.chap10.Test; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet 阅读全文
posted @ 2020-05-25 13:03 Zouyhan 阅读(109) 评论(0) 推荐(0)
摘要: public class JDBCUtils { // 获取对象方法 public static Connection getcon() throws Exception { // 注册驱动 Class.forName("com.mysql.jdbc.Driver"); // 获取连接 Connec 阅读全文
posted @ 2020-05-25 12:52 Zouyhan 阅读(142) 评论(0) 推荐(0)
摘要: <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 阅读全文
posted @ 2020-05-25 12:48 Zouyhan 阅读(101) 评论(0) 推荐(0)
摘要: <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 阅读全文
posted @ 2020-05-25 12:21 Zouyhan 阅读(85) 评论(0) 推荐(0)
摘要: <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 阅读全文
posted @ 2020-05-25 12:11 Zouyhan 阅读(100) 评论(0) 推荐(0)
摘要: <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html > <html> <head> <meta http-equiv="Content-Type" 阅读全文
posted @ 2020-05-25 11:46 Zouyhan 阅读(116) 评论(0) 推荐(0)
摘要: String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> < 阅读全文
posted @ 2020-04-02 18:38 Zouyhan 阅读(120) 评论(0) 推荐(0)
摘要: <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+ 阅读全文
posted @ 2020-04-02 18:09 Zouyhan 阅读(128) 评论(0) 推荐(0)
摘要: package com.example.z10; import com.example.z10.R; import android.app.Activity; import android.content.ContentValues; import android.content.Context; 阅读全文
posted @ 2019-11-06 22:07 Zouyhan 阅读(153) 评论(0) 推荐(0)
摘要: package com.example.z9; import java.io.FileInputStream; import java.io.FileOutputStream; import android.app.Activity; import android.content.Context; import android.content.SharedPrefe... 阅读全文
posted @ 2019-10-28 17:12 Zouyhan 阅读(106) 评论(0) 推荐(0)