- 博客(5)
- 资源 (2)
- 收藏
- 关注
原创 Charles安卓手机无法访问https请求
网上:从存储设备导入pem证书文件,导入后,发现仍不可用修改:将在chls.pro/ssl下载的证书,后缀改为.crt,打开文件管理器,选择crt证书直接安装,安装成功后,可以抓取到https请求
2021-12-13 15:43:35
4317
原创 servlet中获取系统时间,并去除毫秒
使用java.sql.Timestamp,会显示毫秒,如2019-01-06 09:21:32.121如何去除毫秒?可以这样做首先开头导入//引入Timestampimport java.sql.Timestamp;//引入DateFormatimport java.text.*;在public void doPost(HttpServletRequest req, HttpSer...
2019-01-06 03:18:55
1669
原创 servlet中获取session值
首先,servlet文件开头导入import javax.servlet.http.HttpSession;在public void doPost(HttpServletRequest req, HttpServletResponse resp)throws ServletException, IOException {中加入// 获取sessionHttpSession sessi...
2019-01-06 02:33:27
12477
原创 check the manual that corresponds to your MySQL server version for the right
用sql插入数据库时提示You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘desc,size,time)value(‘啦啦啦’,‘测试’,’’,‘测试’,0,‘2019-01-06...
2019-01-06 02:27:28
3874
学生成绩管理系统系统系统
2019-01-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人