JAVAWeb
pandaberg
专注学习
展开
-
jdbc连接数据库配置文件db.properties
driver=com.mysql.jdbc.Driverurl = jdbc:mysql://localhost:3306?useUnicode=true&characterEncoding=utf-8username = rootpassword = 123456原创 2021-01-13 11:09:25 · 443 阅读 · 0 评论 -
每个web.xml文件必须有的,且独立放在文档的开头
<?xml version="1.0" encoding="UTF-8"?><web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://原创 2021-01-10 15:36:51 · 132 阅读 · 0 评论