Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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_3_1.xsd"
- version="3.1">
- <!-- ENABLE / DISABLE PRODUCTION MODE -->
- <context-param>
- <param-name>productionMode</param-name>
- <param-value>true</param-value>
- </context-param>
- <!-- SERVLETS -->
- <servlet>
- <servlet-name>App</servlet-name>
- <servlet-class>com.vaadin.server.GAEVaadinServlet</servlet-class>
- <init-param>
- <param-name>UI</param-name>
- <param-value>com.example.app.App</param-value>
- </init-param>
- <async-supported>true</async-supported>
- </servlet>
- <servlet>
- <servlet-name>OAuthCallback</servlet-name>
- <servlet-class>com.example.app.oauth.OAuthCallback</servlet-class>
- </servlet>
- <!-- MAPPING -->
- <servlet-mapping>
- <servlet-name>App</servlet-name>
- <url-pattern>/*</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>OAuthCallback</servlet-name>
- <url-pattern>/oauth</url-pattern>
- </servlet-mapping>
- </web-app>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement