Project

General

Profile

« Previous | Next » 

Revision a45e5ee7

Added by Andreas Kohlbecker over 7 years ago

fix #6206 mapping one @WebServlets to the path /VAADIN/*

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/ui/StatusEditorUI.java
1
// $Id$
2 1
/**
3 2
* Copyright (C) 2015 EDIT
4 3
* European Distributed Institute of Taxonomy
......
40 39

  
41 40
    private final static Logger logger =
42 41
            Logger.getLogger(StatusEditorUI.class.getName());
43

  
42
    /*
43
     * NOTE: I it necessary to map the URLs starting with /VAADIN/* since none of the
44
     * @WebServlets is mapped to the root path. It is sufficient to configure one of the
45
     * servlets with this path see BookOfVaadin 5.9.5. Servlet Mapping with URL Patterns
46
     */
47
    @WebServlet(value = {"/app/editstatus/*", "/VAADIN/*"}, asyncSupported = true)
44 48
    /*
45 49
     * NOTE: productionMode=true seems not to have any effect here, maybe because we are using multiple Servlets?
46 50
     * The is therefore set globally in the web.xml
47 51
     */
48
    @WebServlet(value = {"/app/editstatus/*"}, asyncSupported = true)
49 52
    @VaadinServletConfiguration(productionMode = true, ui = StatusEditorUI.class, widgetset = "eu.etaxonomy.cdm.vaadin.AppWidgetSet")
50 53
    public static class Servlet extends VaadinServlet {
51 54
    }

Also available in: Unified diff