Re: ServletContext access question

2001-08-03 Thread Bojan Smojver

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-paramparam-I-need-to-know/init-param.../servlet .
 Is it possible at all ?
 Thanks for you help.
 
 Regards,
 --
 
 Viktors Krebss, [EMAIL PROTECTED]
 SMC , http://www.smc.lv/
 tel: +371-748, mob: +371-9243923, fax: +371-701



Re: ServletContext access question

2001-08-03 Thread Viktors Krebss



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-paramparam-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-748, mob: +371-9243923, fax: +371-701