Project

General

Profile

« Previous | Next » 

Revision a1dac6b2

Added by Andreas Kohlbecker about 7 years ago

#5285 removing problematic multi VaadinServlet configuration

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/ui/StatusEditorUI.java
11 11

  
12 12
import java.util.logging.Logger;
13 13

  
14
import javax.servlet.annotation.WebServlet;
15

  
16 14
import com.vaadin.annotations.Theme;
17 15
import com.vaadin.annotations.Widgetset;
18 16
import com.vaadin.navigator.Navigator;
19 17
import com.vaadin.server.VaadinRequest;
20 18
import com.vaadin.spring.annotation.SpringUI;
21
import com.vaadin.spring.server.SpringVaadinServlet;
22 19
import com.vaadin.ui.UI;
23 20

  
24 21
import eu.etaxonomy.cdm.vaadin.component.StatusComposite;
......
39 36

  
40 37
    private final static Logger logger =
41 38
            Logger.getLogger(StatusEditorUI.class.getName());
42
    /*
43
     * NOTE: It is 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/*", "/VAADIN/*"}, asyncSupported = true)
48
    public static class Servlet extends SpringVaadinServlet {
49
    }
50 39

  
51 40
    @Override
52 41
    protected void doInit(VaadinRequest request) {

Also available in: Unified diff