Re: Accessing init-param in spring with servlet transport

2016-01-26 Thread Paul Millar
Hi Sergey, On 19/01/16 12:58, Sergey Beryozkin wrote: > Sorry for a delay. Sorry for my delay! I'm not sure I understand, so you'd like to have some context-params and CXFServlet specific init-params set in a given web.xml and make them available to the application context ? Can you please

Re: Accessing init-param in spring with servlet transport

2016-01-26 Thread Jose MarĂ­a Zaragoza
2016-01-26 11:34 GMT+01:00 Paul Millar : > Hi Sergey, > > On 19/01/16 12:58, Sergey Beryozkin wrote: >> Sorry for a delay. > > Sorry for my delay! > >> I'm not sure I understand, so you'd like to have some context-params and >> CXFServlet specific init-params set in a given

Re: Accessing init-param in spring with servlet transport

2016-01-26 Thread Sergey Beryozkin
Hi Paul Thanks for the explanation, I guess it does not work because CXFServlet parameters are not visible to a web.xml-'global' application context which can be shared between multiple servlets, so injecting a servlet specific parameters into this context would be wrong. Try using a

Re: Accessing init-param in spring with servlet transport

2016-01-19 Thread Sergey Beryozkin
Hi Paul Sorry for a delay. I'm not sure I understand, so you'd like to have some context-params and CXFServlet specific init-params set in a given web.xml and make them available to the application context ? Can you please show some configuration fragments which will help to understand

Accessing init-param in spring with servlet transport

2016-01-15 Thread Paul Millar
Hi, I have a small JAX-RS application that I'm running through the servlet transport. I'd like to make the application configurable via init-param settings in the corresponding web.xml file. I would like to keep the code transport-neutral, so wanted to inject properties using the