首页 > 代码库 > 淘宝商城servlet的路径web.xml部分

淘宝商城servlet的路径web.xml部分

淘宝商城servlet的路径web.xml部分


<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" 
	xmlns="http://java.sun.com/xml/ns/javaee" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
	http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
  <servlet>
    <description>This is the description of my J2EE component</description>
    <display-name>This is the display name of my J2EE component</display-name>
    <servlet-name>showGoodsClServlet</servlet-name>
    <servlet-class>com.xf.servlet.showGoodsClServlet</servlet-class>
  </servlet>
  <servlet>
    <description>This is the description of my J2EE component</description>
    <display-name>This is the display name of my J2EE component</display-name>
    <servlet-name>ShoppingClServlet</servlet-name>
    <servlet-class>com.xf.servlet.ShoppingClServlet</servlet-class>
  </servlet>
  <servlet>
    <description>This is the description of my J2EE component</description>
    <display-name>This is the display name of my J2EE component</display-name>
    <servlet-name>ShoppingCl2</servlet-name>
    <servlet-class>com.xf.servlet.ShoppingCl2</servlet-class>
  </servlet>
  <servlet>
    <description>This is the description of my J2EE component</description>
    <display-name>This is the display name of my J2EE component</display-name>
    <servlet-name>loginCl</servlet-name>
    <servlet-class>com.xf.servlet.loginCl</servlet-class>
  </servlet>
  <servlet>
    <description>This is the description of my J2EE component</description>
    <display-name>This is the display name of my J2EE component</display-name>
    <servlet-name>OrderClServlet</servlet-name>
    <servlet-class>com.xf.servlet.OrderClServlet</servlet-class>
  </servlet>





  <servlet-mapping>
    <servlet-name>showGoodsClServlet</servlet-name>
    <url-pattern>/showGoodsClServlet</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>ShoppingClServlet</servlet-name>
    <url-pattern>/ShoppingClServlet</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>ShoppingCl2</servlet-name>
    <url-pattern>/ShoppingCl2</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>loginCl</servlet-name>
    <url-pattern>/loginCl</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>OrderClServlet</servlet-name>
    <url-pattern>/OrderClServlet</url-pattern>
  </servlet-mapping>
  <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
  </welcome-file-list>
</web-app>