123456789101112131415161718192021222324252627282930313233 |
- <?xml version="1.0" encoding="UTF-8"?>
- <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
- version="4.0">
- <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>AuthServlet</servlet-name>
- <servlet-class>com.hei.servlet.AuthServlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>AuthServlet</servlet-name>
- <url-pattern>/AuthServlet.do</url-pattern>
- </servlet-mapping>
- <!-- 认证系统域名-->
- <context-param>
- <param-name>DomainName</param-name>
- <param-value>localhost</param-value>
- </context-param>
- <!-- 认证系统名称-->
- <context-param>
- <param-name>CookieName</param-name>
- <param-value>SSOID</param-value>
- </context-param>
- <!--
- welcome-file-list是一个配置在web.xml中的一个欢迎页,
- 用于当用户在url中输入工程名称或者输入web容器url(如http://localhost:8888/)时直接跳转的页面.
- -->
- <welcome-file-list>
- <welcome-file>index.jsp</welcome-file>
- </welcome-file-list>
- </web-app>
|