摘要:
##静态资源过滤 防止包内xml文件没有扫描 <build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/* 阅读全文
摘要:
driver=com.mysql.jdbc.Driverurl=jdbc:mysql://localhost:3306?useUnicode=true&characterEncoding=utf-8username=rootpassword=123456 阅读全文
摘要:
IDEA 警告 No archetype found in remote catalog. Defaulting to internal catalog 新建Maven项目,遇到警告: No archetype found in remote catalog. Defaulting to inter 阅读全文
摘要:
Servlet & JSP <!-- https://mvnrepository.com/artifact/javax.servlet.jsp/javax.servlet.jsp-api --> <dependency> <groupId>javax.servlet.jsp</groupId> <a 阅读全文
摘要:
JSTL & Standard <!-- https://mvnrepository.com/artifact/javax.servlet.jsp.jstl/jstl --> <dependency> <groupId>javax.servlet.jsp.jstl</groupId> <artifa 阅读全文
摘要:
jdbc连接MySql数据库 package com.zhy; import com.mysql.jdbc.Driver; import java.sql.*; /** * @author ZHY * @data 2021/2/15 */ public class TestJdbc { public 阅读全文
摘要:
九大内置对象 内置对象 Servlet对应类 request HttpServletRequest response HttpServletResponse session HttpSession application ServletContext out JspWriter pageContex 阅读全文
摘要:
<!--注册servlet--> <servlet> <servlet-name>hello</servlet-name> <servlet-class>servlet.HellowServlet</servlet-class> </servlet> <!--servlet路径映射--> <serv 阅读全文