This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../../bower_components/polymer/polymer.html"> | |
<link rel="import" href="../../bower_components/iron-form/iron-form.html"> | |
<link rel="import" href="../../bower_components/vaadin-text-field/src/vaadin-text-field.html"> | |
<link rel="import" href="../../bower_components/vaadin-text-field/src/vaadin-password-field.html"> | |
<link rel="import" href="../../bower_components/vaadin-button/src/vaadin-button.html"> | |
<dom-module id="login-view"> | |
<template> | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@WebServlet(value = "/*", asyncSupported = true) | |
@VaadinServletConfiguration(productionMode = false, ui = MyVaadinUI.class) | |
public static class MyCORSServlet extends VaadinServlet { | |
/** | |
* Override to handle the CORS requests. | |
*/ | |
@Override | |
protected void service(HttpServletRequest request, | |
HttpServletResponse response) throws ServletException, |