application.properties文件内容为: 自动建表实体对象为: ...
分类:
编程语言 时间:
2018-11-14 12:26:29
阅读次数:
212
pom.xml中 <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> </dependency> <dependency> <groupId>javax.servle ...
分类:
编程语言 时间:
2018-10-27 15:21:51
阅读次数:
163
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author "Sniper" import getpass import os ### Registry Account 注册用户,将用户数据存入文件中 print("Welcome to the Reg... ...
分类:
其他好文 时间:
2018-10-26 19:34:14
阅读次数:
167
// 盐,加密后密码获取 Map<String, String> map = new HashMap<String, String>(); map.put("account", user_UpdatePwdVo.getAccount()); map.put("password", user_Upda ...
分类:
其他好文 时间:
2018-10-22 20:41:05
阅读次数:
126
一.用户登陆(校验验证码:错误的验证码) struts.xml login.jsp页面 ...
分类:
其他好文 时间:
2018-10-21 10:18:20
阅读次数:
164
来一个简单的示例吧 获取Getter和Setter方法 通过内省略机制封两个方法 ...
分类:
编程语言 时间:
2018-10-11 23:50:17
阅读次数:
220
抽象类工厂模式很巧妙的使用了函数也是对象,也可以由很多的属性的方法 ...
分类:
其他好文 时间:
2018-09-26 14:58:32
阅读次数:
187
之前有遇到需求说输入密码不显示明文,但同时会有一些其他问题,暂时没做,如今经过尝试可以实现,但是得先知道要输入的是密码。主要利用的getch()函数的不回显特点。需要注意的是这个函数不是标准函数,而且使用VS2013有提示换成_getch()。具体代码以及效果如下: 功能是输入字符不显示或者显示其他 ...
分类:
编程语言 时间:
2018-09-13 22:47:11
阅读次数:
219
# Author:Source #-*-coding:utf-8 -*- #使用第三方库,import 库名 '''import getpass password=getpass.getpass('Please input your password:') print(password)''' #自... ...
分类:
编程语言 时间:
2018-09-09 18:18:08
阅读次数:
193