摘要:
常用邮箱SMTP服务器地址 阿里云邮箱(mail.aliyun.com) POP3服务器地址:pop3.aliyun.com(SSL加密端口:995;非加密端口:110) SMTP服务器地址:smtp.aliyun.com(SSL加密端口:465;非加密端口:25) IMAP服务器地址:imap.a 阅读全文
摘要:
#springboot整合shiro ##Shiro核心组件 1、UsernamePasswordToken,Shiro 用来封装用户登录信息,使用用户的登录信息创建令牌 Token,登录的过程即 Shiro 验证令牌是否具有合法身份以及相关权限。 2、 SecurityManager,Shiro 阅读全文
摘要:
<!-- jdbc--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jdbc</artifactId> </dependency><!-- 数据库驱动-- 阅读全文
摘要:
1、导入相关pom依赖 <dependencies><!-- junit--> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</sc 阅读全文
摘要:
Spring5 代码:https://github.com/Donkequan/Spring-Study 1. 简介 spring理念:是现有的技术更加容易使用,本身是一个大杂烩。 SSH:Struct2 + Spring + Hibernate SSM: SpringMVC + Spring + 阅读全文
摘要:
public static void main(String[] args) { FileInputStream fis=null; try { fis=new FileInputStream("D:\\File\\data.txt");// 循环读 int i=0; while ((i=fis.r 阅读全文