shiyan2

<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
    version="2.5">
  <servlet>
        <servlet-name>helloServlet</servlet-name>
        <servlet-class>com.demo.HelloServlet</servlet-class>
    </servlet>
<servlet-mapping>
        <servlet-name>helloServlet</servlet-name>
        <url-pattern>/hello</url-pattern>
    </servlet-mapping>
<servlet>
        <servlet-name>helloUserServlet</servlet-name>
        <servlet-class>com.demo.HelloUserServlet</servlet-class>
    </servlet>
<servlet-mapping>
        <servlet-name>helloUserServlet</servlet-name>
        <url-pattern>/hellouser</url-pattern>
    </servlet-mapping>
</web-app>

上一篇:Python全栈开发-执行字符串形式的语句和字符串形式的表达式方法(即exec和eval方法)


下一篇:Python面向对象进阶和socket网络编程-day08