Bojan Smojver wrote:

> Maybe you can use application init parameters instead?
>
> Bojan
>
> Viktors Krebss wrote:
> >
> > Hello,
> >
> > Does anyone know how can I access servlet init parameters form another
> > servlet ?
> > I mean I can access servlet context (<context-param> ) using
> > getServletContext().getContext("/some_servlet")
> > but what I need is to get into
> > <servlet>...<init-param>param-I-need-to-know</init-param>...</servlet> .
> > Is it possible at all ?
> > Thanks for you help.
> >

Thanks for your reply.
Well, if no solution will come up I'll have to move everything to
context-params.
( what quite inconvenient for some reasons)
But still, does servlet API has such thing as accessing cross context init
params
or not ? Would be useful thing to know.

Regards,
--

Viktors Krebss, [EMAIL PROTECTED]
SMC , http://www.smc.lv/
tel: +371-7777748, mob: +371-9243923, fax: +371-7777701


Reply via email to