zoukankan      html  css  js  c++  java
  • Web23_Listener

    记得在web.xml配置<listener-class>监听器的Copy Qualified Name复制类全名</listener-class>

    1 <listener-class>com.itheima.birthday.BirthdayListener</listener-class>

    记得在web.xml配置<listener-class>监听器的Copy Qualified Name复制类全名</listener-class>

     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     3     xmlns="http://xmlns.jcp.org/xml/ns/javaee"
     4     xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
     5     id="WebApp_ID" version="3.1">
     6     <display-name>WEB23</display-name>
     7     <listener>
     8 
     9         <listener-class>com.itheima.birthday.BirthdayListener</listener-class>
    10 
    11     </listener>
    12     <welcome-file-list>
    13         <welcome-file>index.html</welcome-file>
    14         <welcome-file>index.htm</welcome-file>
    15         <welcome-file>index.jsp</welcome-file>
    16         <welcome-file>default.html</welcome-file>
    17         <welcome-file>default.htm</welcome-file>
    18         <welcome-file>default.jsp</welcome-file>
    19     </welcome-file-list>
    20 </web-app>
  • 相关阅读:
    文件处理
    字符编码复习
    python小知识点复习
    计算机基础
    前端html/css/script基础
    前端(css引入的3中方式)
    (数据库之pymysql)
    Spring、Spring MVC、Struts2优缺点整理
    Java Web 高性能开发,前端的高性能
    HDFS的工作原理扫扫盲
  • 原文地址:https://www.cnblogs.com/denggelin/p/7258741.html
Copyright © 2011-2022 走看看