web.xml.svn-base
资源名称:cindyblog.rar [点击查看]
上传用户:cdpainuo
上传日期:2022-07-12
资源大小:5257k
文件大小:1k
源码类别:
Jsp/Servlet
开发平台:
Java
- <?xml version="1.0" encoding="utf-8"?>
- <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://java.sun.com/xml/ns/javaee"
- xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
- http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
- <servlet>
- <servlet-name>Admin</servlet-name>
- <servlet-class>com.appspot.cindyblog.servlet.AdminServlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>Admin</servlet-name>
- <url-pattern>/admin</url-pattern>
- </servlet-mapping>
- <servlet>
- <servlet-name>Blog</servlet-name>
- <servlet-class>com.appspot.cindyblog.servlet.BlogServlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>Blog</servlet-name>
- <url-pattern>/blog</url-pattern>
- </servlet-mapping>
- <filter>
- <filter-name>AdminFilter</filter-name>
- <filter-class>com.blog.commom.AdminFilter</filter-class>
- </filter>
- <filter-mapping>
- <filter-name>AdminFilter</filter-name>
- <url-pattern>/admins/*</url-pattern>
- </filter-mapping>
- <welcome-file-list>
- <welcome-file>index.html</welcome-file>
- </welcome-file-list>
- </web-app>