上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 53 下一页
摘要: 1,读取并解析配置 2,读取并解析映射信息 创建session Factory 3,打开session 4,创建事务Transation 5,持久化操作 6,提交事务 7,关闭Session 8,关闭SesstionFactory 阅读全文
posted @ 2020-05-27 00:33 博二爷 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.sina.com.cn/s/blog_a6a6b3cd01017c57.html 什么是SSH? SSH对应 struts spring hibernate struts 采用MVC模式,主要是作用于用户交互 spring 采用IOC和AOP~作用比较抽象,是用于项目的 阅读全文
posted @ 2020-05-22 00:02 博二爷 阅读(1764) 评论(0) 推荐(0) 编辑
摘要: 1,下载高版本驱动包 (mysql-connector-java-8.0.15.jar) 提取码:t27v 2,更换驱动名 以前:com.mysql.jdbc.Driver 现在:com.mysql.cj.jdbc.Driver 3,删除原来驱动包 项目上右键->Build Path->Config 阅读全文
posted @ 2020-05-21 23:26 博二爷 阅读(2934) 评论(0) 推荐(0) 编辑
摘要: 代码: import numpy as np import matplotlib.pyplot as plt plt.rcParams['font.sans-serif']=['SimHei']#设置字体以便支持中文 def show(): total_Score=[852.5, 746.7, 64 阅读全文
posted @ 2020-05-19 22:34 博二爷 阅读(354) 评论(0) 推荐(1) 编辑
摘要: 效果图: 代码: 1 from matplotlib import pyplot as plt 2 import numpy as np 3 from mpl_toolkits.mplot3d import Axes3D 4 fig = plt.figure() 5 ax = Axes3D(fig) 阅读全文
posted @ 2020-05-19 00:23 博二爷 阅读(1201) 评论(0) 推荐(0) 编辑
摘要: 代码: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional// 阅读全文
posted @ 2020-05-15 00:56 博二爷 阅读(1293) 评论(0) 推荐(0) 编辑
摘要: 只需要更改hsots文件就好了 hosts文件地址:C:\Windows\System32\drivers\etc\hosts 添加: 1 #github 2 192.30.253.113 github.com 3 192.30.253.113 github.com 4 192.30.253.118 阅读全文
posted @ 2020-05-12 22:39 博二爷 阅读(1930) 评论(0) 推荐(0) 编辑
摘要: 因为实例很简单,直接给代码 1 package com.watch; 2 3 import java.net.ServerSocket; 4 5 public class test extends Thread{ 6 public volatile boolean exit = false; 7 @ 阅读全文
posted @ 2020-05-12 00:25 博二爷 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 话不多说,直接上代码: 1 package com.python; 2 import java.nio.file.FileSystems; 3 import java.nio.file.Path; 4 import java.nio.file.Paths; 5 import java.nio.fil 阅读全文
posted @ 2020-05-07 23:45 博二爷 阅读(725) 评论(0) 推荐(0) 编辑
摘要: D3下载地址: https://github.com/mbostock/d3/releases/download/v3.4.8/d3.zip 二话不说给代码: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"/> 5 <title 阅读全文
posted @ 2020-05-04 16:19 博二爷 阅读(1154) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 53 下一页