上一页 1 ··· 3 4 5 6 7
摘要: //创建一个配置文件并保存 Properties properties = new Properties(); properties.setProperty("mail.host","smtp.qq.com"); properties.setProperty("mail.transport.prot 阅读全文
posted @ 2020-02-23 21:41 门虫不是虫 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1、首先需要导入依赖包 <!-- https://mvnrepository.com/artifact/commons-io/commons-io --> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artif 阅读全文
posted @ 2020-02-23 20:53 门虫不是虫 阅读(229) 评论(0) 推荐(0) 编辑
摘要: web-app版本问题,我的web.xml中头文件的配置是: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3. 阅读全文
posted @ 2020-02-22 16:12 门虫不是虫 阅读(487) 评论(0) 推荐(0) 编辑
摘要: 1、pom.xml导入包 <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>RELEASE</version> <scope>compile</scope 阅读全文
posted @ 2020-02-22 11:12 门虫不是虫 阅读(148) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7