Key points: don't procrastinate; review the notes and renew the literature search; determine who your audience is - most likely reviewers, so get thei ...
分类:
其他好文 时间:
2020-02-07 22:35:45
阅读次数:
88
第一步:确保 idea,maven, tomcat, JDK 已安装 第二部:创建项目 用如图所示的模板创建 修改项目目录结构如图 第三步:pom.xml <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEn ...
分类:
其他好文 时间:
2020-02-07 21:01:56
阅读次数:
76
第一步:在resources目录下新建jdbc.properties文件 jdbc.driver=com.mysql.cj.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/library_ssm?serverTimezone=GMT%2B8 jdbc ...
分类:
其他好文 时间:
2020-02-07 20:59:29
阅读次数:
59
我们以前写的URL --> 函数的都是一 一对应关系。还有另外一种 一一对应的有一个缺点就是只有访问规定的这个URL才会访问到指定界面。特别是在编辑时指定的界面如: 127.0.0.1:8000/edit/?nid=alex ?是get传参的标志。 127.0.0.1:8000/edit/alex ...
分类:
其他好文 时间:
2020-02-07 13:04:14
阅读次数:
65
主要内容 File类 递归 IO流 字节流 字符流 异常处理 Properties 缓冲流 转换流 序列化流 打印流 学习目标 [ ] 能够说出File对象的创建方式 [ ] 能够说出File类获取名称的方法名称 [ ] 能够说出File类获取绝对路径的方法名称 [ ] 能够说出File类获取文件大 ...
分类:
其他好文 时间:
2020-02-07 12:37:32
阅读次数:
138
``` void CtestDlg::OnBnClickedButton1() { wchar_t a1[12], a2[12], a3[12]; //方法一 GetWindowText //GetDlgItem(IDC_EDIT_1)->GetWindowText(a1,12); //GetDlg... ...
分类:
其他好文 时间:
2020-02-06 22:49:41
阅读次数:
91
摘自:https://blog.csdn.net/adamska0104/article/details/41245579 最近一段时间看内核代码,总是看到skb_header_pointer函数,这个函数的主要功能很简单,就是从skb字段中获取指定长度到内容到缓存中。函数原型是这个样子的: sta ...
分类:
其他好文 时间:
2020-02-06 20:02:32
阅读次数:
69
``` void CtestDlg::OnBnClickedButton1() { CString str; int count = 0; int length = 0; GetDlgItemText(IDC_EDIT_1, str); length = str.GetLength(); //得到了... ...
分类:
其他好文 时间:
2020-02-06 19:58:17
阅读次数:
70
配置文件yml还是properties他们都能获取到值;如果说,我们只是在某个业务逻辑中需要获取一下配置文件中的某项值,使用@Value;如果说,我们专门编写了一个javaBean来和配置文件进行映射,我们就直接使用@ConfigurationProperties; 1.功能 使用@Value来代替 ...
分类:
其他好文 时间:
2020-02-06 16:10:32
阅读次数:
88
hibernate.cfg.xml 中hibernate.hbm2ddl.auto配置节点如下: <properties><property name="hibernate.show_sql" value="true" /> <property name="hibernate.hbm2ddl.aut ...
分类:
Web程序 时间:
2020-02-06 14:41:51
阅读次数:
71