Just inject the "Context" service and use the getInitParameter method.



On Thu, Oct 1, 2009 at 9:01 AM, Inge Solvoll <inge.tapes...@gmail.com>wrote:

> I believe you just have to inject SymbolSource into your class and get the
> parameter value from there. The ServletContextSymbolProvider should be on
> top of the situation :)
>
> On Wed, Sep 30, 2009 at 8:39 PM, Benny Law <benny.mk....@gmail.com> wrote:
>
> > Hello,
> >
> > I define the application version along with some other things as
> > context-params in web.xml. What is the best way to read these parameters
> in
> > T5? Thanks.
> >
> > Benny
> >
>

Reply via email to