I am deploying a web application that contains a couple of servlets. One of those servlets is a Vaadin 7.4.6 application with the Spring add on. I followed the instructions from
the wiki
for basic configuration and then modified the context mapping accordingly.
My Vaadin UI servlet configuration is :
ServletRegistration.Dynamic vaadinServletRegistration =
servletContext.addServlet("Vaadin Application", SpringVaadinServlet.class);
vaadinServletRegistration.setAsyncSupported(true);
vaadinServletRegistration.setLoadOnStartup(1);
vaadinServletRegistration.addMapping("/ui/*");
vaadinServletRegistration.addMapping("/VAADIN/*");
The UI configuration is:
@SpringUI
@Theme("testTheme1")
@Title("POC")
@PreserveOnRefresh
@Push
public class IdrUI extends UI
{
...
}
The issue is that the PUSH and UIDL paths from Atmosphere are not following the mapping defined in the servlet. Firebug is showing me those requests as coming from the ROOT context (/) rather than from the Vaadin application context (/ui/).
Any thoughts on how to resolve this?
Thanks!
Frank