To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
Hello, I should start with: "I'm new with Vaadin...", but its obvious :*)
So, I have Vaadin portlet deployed on Life Ray portal. In server.xml (LF's Tomcat) is 1 variable and I have to load it in this portlet. This variable contains string with path to configuration file, so I need it in portlet's init() method. In normal web application I could use simple "((WebApplicationContext)getContext()).getHttpSession().getServletContext()", but in portlet it's not possible (because context = PortletApplicationContext2).
Simplified question: how to load parameter from server.xml in Vaadin portlet?
PS: This parameter is set by 3rd person and I can't use other configuration file for it, e.g. web.xml.