Custom Meta Information Problem

Hi,
I’m trying to include the follow meta information: .
I extended the Servlet but it doesn’t work:



public class TestServlet extends VaadinServlet{
	@Override
    protected void servletInitialized() throws ServletException {
        super.servletInitialized();
        getService().addSessionInitListener(new SessionInitListener() {
            @Override
            public void sessionInit(SessionInitEvent event) {
                event.getSession().addBootstrapListener(new BootstrapListener(){

					@Override
					public void modifyBootstrapFragment(BootstrapFragmentResponse response) {
				        
					}

					@Override
					public void modifyBootstrapPage(BootstrapPageResponse response) {
						response.setHeader("name", "apple-mobile-web-app-capable");
						response.setHeader("content", "yes");						
					}
                	
                });
            }
        });
    }
	
}

P.S. The method is invoked on Startup but seems to have no effects.

Calling setHeader() you are setting HTTP response headers. Just call response.getDocument() and use the returned Document object to modify bootstrap page the way you need.
More info here:
Customizing the startup page in an application
.

Thank you very much, that solved the problem.