users@jersey.java.net

Re: [Jersey] How to access init-param values from a Jersey web application

From: Martin Giese <martingi_at_ifi.uio.no>
Date: Thu, 20 May 2010 15:36:32 +0200

On 05/20/2010 03:25 PM, Paul Sandoz wrote:
>
>>
>> jersey-core-1.0.3.jar
>> jersey-server-1.0.3.jar
>>
>> Should I be using jersey-1.2 ?
>>
> I have
>
> Yes, you will need to switch to 1.1.4 or greater. IIRC support for
> instantiating Application as a managed component was introduced in
> JAX-RS 1.1.
OK, thank you very much, it works with @PostConstruct in jersey 1.2!

Almost. I can read what is defined in <context-param> but not what
comes from an <init-param>. Not that it matters for my app right now,
but I'm still curious...

Martin