Access to ServletConfig

How do I get access to ServletConfig object from a Vaadin (6) application?

Not sure what you want, but the ServletConfig is passed in the ‘init’ method of all servlets, so any servlet you write will get this automatically when created. This makes sense since only a Servlet should have access to its configuration. And any servlet can just call getServletConfig() to get its configuration at any other time.

If you need global settings for your web app, you can use context-param, but that comes via the ServletContext object instead, which is available if you have the HttpSession or you can create a ServletContextListener and get it when the web app is initialized.