Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 2 weeks ago
Multiple VaadinServlet
Is there ever a situation where more than one VaadinServlet's would be defined for a Vaadin Application?
Are there problems with doing something like the following:
@WebServlet(urlPatterns = "/VAADIN/*")
public static class RootVaadinServlet extends VaadinServlet {}
@WebServlet(urlPatterns = {"/myui/*“}, asyncSupported = true)
@VaadinServletConfiguration(ui = MyUI.class, productionMode = false)
public static class MyUIServlet extends VaadinServlet {}
@WebServlet(urlPatterns = {"/addressbook/*"}, asyncSupported = true)
@VaadinServletConfiguration(ui = AddressbookUI.class, productionMode = false)
public static class MyUIServlet extends VaadinServlet { }
The reason I ask is because when I try something like this there seems to be a 'Communication Problem'.
Communication problem
Take note of any unsaved data, and click here or press ESC to continue.
(SyntaxError) : Unexpected token <- Original JSON-text: html>
Last updated on
You cannot reply to this thread.