Defining two Servlets in one Application

Hi vaadiners,

I’m using two add-on in my application which are navigator7 and invient charts. I’m getting a problem with defining the servlet in my web.xml because navigator7 define its specific one like this

Vaadin Application Servlet

and Invient charts do the same in order to use the js files of HighCharts API like this :

Vaadin Application Servlet

i’m thinking about using differents url pattern and switching between them inside java code. Is that possible??

Any idea ??

Best Regards,


I have resolved this problem, i have written a java class (my servlet) thats inherits from NavigableApplicationServlet (the one for navigator7) and implements writeAjaxPageHtmlVaadinScripts method (used by invient charts).

That’s all you need to do!!

Best Regards,