Hi Fabien, can we get a bit more context maybe?
You can capture the context in a servlet context listener and read it in your app then. Sounds easier than using the session (which can be null) but maybe I miss a contextual information there. Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn | Tomitriber 2015-11-19 7:59 GMT-08:00 Fabien R <[email protected]>: > I would like to programatically access to the resources of an application > context. > > I found that one may use: > HttpSession l_s = p_request.getSession(false); > ApplicationContextFacade l_sc = (ApplicationContextFacade) > l_s.getServletContext(); > InputStream l_is = l_sc.getResourceAsStream(<path>); > > But I would prefer to get the context as StandardContext to use its more > convenient methods. > > Any hints ? > > -- > Fabien
