web.xml.svn-base
上传用户:cdpainuo
上传日期:2022-07-12
资源大小:5257k
文件大小:1k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://java.sun.com/xml/ns/javaee"
  4. xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
  5. xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
  6. http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
  7. <servlet>
  8. <servlet-name>Admin</servlet-name>
  9. <servlet-class>com.appspot.cindyblog.servlet.AdminServlet</servlet-class>
  10. </servlet>
  11. <servlet-mapping>
  12. <servlet-name>Admin</servlet-name>
  13. <url-pattern>/admin</url-pattern>
  14. </servlet-mapping>
  15. <servlet>
  16. <servlet-name>Blog</servlet-name>
  17. <servlet-class>com.appspot.cindyblog.servlet.BlogServlet</servlet-class>
  18. </servlet>
  19. <servlet-mapping>
  20. <servlet-name>Blog</servlet-name>
  21. <url-pattern>/blog</url-pattern>
  22. </servlet-mapping>
  23. <filter>
  24. <filter-name>AdminFilter</filter-name>
  25. <filter-class>com.blog.commom.AdminFilter</filter-class>
  26. </filter>
  27. <filter-mapping>
  28. <filter-name>AdminFilter</filter-name>
  29. <url-pattern>/admins/*</url-pattern>
  30. </filter-mapping>
  31. <welcome-file-list>
  32. <welcome-file>index.html</welcome-file>
  33. </welcome-file-list>
  34. </web-app>