码迷,mamicode.com
首页 > 其他好文 > 详细

shiyan2

时间:2015-03-30 15:50:57      阅读:93      评论:0      收藏:0      [点我收藏+]

标签:

<?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>

 

shiyan2

标签:

原文地址:http://www.cnblogs.com/acm-jing/p/4378018.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!