摘要:
1.先开启 2.maven <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <version>1.4.7</version> </dependency> 3.执行部分 163邮箱 public stat 阅读全文
摘要:
阅读全文
摘要:
List<Emplyee> list = Arrays.asList( new Emplyee(10, "张三", 15, 9000), new Emplyee(10, "李四", 19, 9000), new Emplyee(10, "王五", 45, 9000), new Emplyee(10, 阅读全文
摘要:
1. HttpURLConnection 2. URLConnection 3. HttpClient 4. Socket https://www.jb51.net/article/206762.htm 阅读全文
摘要:
String str = "woshifujingtao" String result = str.toUpperCase(); System.out.println(result); 结果:WOSHIFUJINGTAO 阅读全文
摘要:
mybatis: type-aliases-package: com.example.user_server.entity mapper-locations: classpath*: com/example/user_server/mapper/*.xml configuration: map-un 阅读全文
摘要:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> 阅读全文
摘要:
方法1//使用lastIndexOf()结合subString()获取后缀名 public String lastName(File file){ if(file==null) return null; String filename = file.getName(); if(filename.la 阅读全文