web.xml revision ada1678a4262b208a7b87391f520a7767d25287c
2700N/A<?xml version="1.0" encoding="UTF-8"?>
2700N/A<!--
2700N/A
2700N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
2700N/A
2700N/A Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
2700N/A
2700N/A The contents of this file are subject to the terms of either the GNU
2700N/A General Public License Version 2 only ("GPL") or the Common Development
2700N/A and Distribution License("CDDL") (collectively, the "License"). You
2700N/A may not use this file except in compliance with the License. You can
2700N/A obtain a copy of the License at
2700N/A https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
2700N/A or packager/legal/LICENSE.txt. See the License for the specific
2700N/A language governing permissions and limitations under the License.
2700N/A
2700N/A When distributing the software, include this License Header Notice in each
2700N/A file and include the License file at packager/legal/LICENSE.txt.
2700N/A
2700N/A GPL Classpath Exception:
2700N/A Oracle designates this particular file as subject to the "Classpath"
2700N/A exception as provided by Oracle in the GPL Version 2 section of the License
2700N/A file that accompanied this code.
2700N/A
2700N/A Modifications:
2700N/A If applicable, add the following below the License Header, with the fields
2700N/A enclosed by brackets [] replaced by your own identifying information:
2700N/A "Portions Copyright [year] [name of copyright owner]"
2700N/A
2700N/A Contributor(s):
2700N/A If you wish your version of this file to be governed by only the CDDL or
2700N/A only the GPL Version 2, indicate your decision by adding "[Contributor]
2700N/A elects to include this software in this distribution under the [CDDL or GPL
2700N/A Version 2] license." If you don't indicate a single choice of license, a
2700N/A recipient has the option to distribute your version of this file under
2700N/A either the CDDL, the GPL Version 2 or to extend the choice of license to
2700N/A its licensees as provided above. However, if you add GPL Version 2 code
2700N/A and therefore, elected the GPL Version 2 license, then the option applies
2700N/A only if the new code is made subject to such option by the copyright
2700N/A holder.
2700N/A
2700N/A-->
2700N/A
2700N/A<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
2700N/A xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
2700N/A xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4"
2700N/A xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
2700N/A
2700N/A <description>Ajax WebSockets Application</description>
2700N/A <display-name>Ajax Chat Websockets</display-name>
2700N/A <servlet>
2700N/A <description>AjaxChatWebSockets</description>
2700N/A <servlet-name>WebSocketsServlet</servlet-name>
2700N/A <servlet-class>com.sun.grizzly.samples.websockets.WebSocketsServlet</servlet-class>
2700N/A <load-on-startup>1</load-on-startup>
2700N/A </servlet>
2700N/A <servlet-mapping>
2700N/A <servlet-name>WebSocketsServlet</servlet-name>
2700N/A <url-pattern>/chat</url-pattern>
2700N/A </servlet-mapping>
2700N/A <session-config>
2700N/A <session-timeout>25</session-timeout>
2700N/A </session-config>
2700N/A</web-app>
2700N/A
2700N/A