ApplicationServlet not used in Vaadin 6.6.2?

Hi all,

I’m upgrading Vaadin from 6.5.0 to 6.6.2. In my applications, when I have to include custom .js files, I extend ApplicationServlet.writeAjaxPageHtmlHeader(). This works fine with 6.5.0, but with 6.6.2 I can see that the header is not overwritten by my application (same code compiled with both version).

Did something change about using a custom ApplicationServlet class? I can’t find anything in the release notes regarding this.

Just found the answer: The prototype of writeAjaxPageHtmlHeader() has changed, and thus my method was not overriding it but was rather a new one. Hope this can help someone…

Hi. Whats the new method is called? I cannot find any writeAjaxPageHtmlHeader() in ApplicationServlet.


It isin AbstractApplicationServlet, the superclass of ApplicationServlet.