Advertisement
Guest User

Untitled

a guest
Nov 29th, 2015
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.29 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
  3.         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.         xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
  5.         version="3.1">
  6.  
  7.     <!-- ENABLE / DISABLE PRODUCTION MODE -->
  8.  
  9.     <context-param>
  10.         <param-name>productionMode</param-name>
  11.         <param-value>true</param-value>
  12.     </context-param>
  13.  
  14.     <!-- SERVLETS -->
  15.  
  16.     <servlet>
  17.         <servlet-name>App</servlet-name>
  18.         <servlet-class>com.vaadin.server.GAEVaadinServlet</servlet-class>
  19.         <init-param>
  20.             <param-name>UI</param-name>
  21.             <param-value>com.example.app.App</param-value>
  22.         </init-param>
  23.         <async-supported>true</async-supported>
  24.     </servlet>
  25.  
  26.     <servlet>
  27.         <servlet-name>OAuthCallback</servlet-name>
  28.         <servlet-class>com.example.app.oauth.OAuthCallback</servlet-class>
  29.     </servlet>
  30.  
  31.     <!-- MAPPING -->
  32.  
  33.     <servlet-mapping>
  34.         <servlet-name>App</servlet-name>
  35.         <url-pattern>/*</url-pattern>
  36.     </servlet-mapping>
  37.  
  38.     <servlet-mapping>
  39.         <servlet-name>OAuthCallback</servlet-name>
  40.         <url-pattern>/oauth</url-pattern>
  41.     </servlet-mapping>
  42.  
  43. </web-app>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement