You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by ru...@us.ibm.com on 2000/02/25 19:05:53 UTC

Speaking of waiting...


;-)

On my queue for this weekend.  (Most of my contributions are done off hours
- and at the moment I'm focusing on cutting and testing 3.1_m2_rc2)

- Sam Ruby



Re: Global Init Parameters

Posted by "Craig R. McClanahan" <cm...@mytownnet.com>.
The simplest thing to do would be to use context initialization parameters
instead.  These are specified by using <context-param> elements in the web
application deployment descriptor, and retrieved in a servlet via:

    getServletContext().getInitParameter("param_name");

and similar calls.

Craig McClanahan


pauly wrote:

> Here's a quick question --
>
> is there a way I can specify a set of init parameters that every one of
> the servlets in my web application will inherit, or must I put the same
> line in every servlet definition?
>
> thanks
> -- paul
>
> ______________________________________________________
>   Paul Risenhoover
>
> www.X-Radio.com    www.Riddim.com
> AIM: badpauly    ICQ: 53504928
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org


Global Init Parameters

Posted by pauly <pa...@x-radio.com>.
Here's a quick question --

is there a way I can specify a set of init parameters that every one of
the servlets in my web application will inherit, or must I put the same
line in every servlet definition?

thanks
-- paul

______________________________________________________
  Paul Risenhoover

www.X-Radio.com    www.Riddim.com
AIM: badpauly    ICQ: 53504928