Hi Chris,

that was exactly my question as well, i was using the
application.getInitParameter example in a servlet as an example to
illustrate what i am looking for in a SOAP service.

I haven't found a solution for it instead i am now using a properties
file located in: 
System.getProperty("user.home") + System.getProperty("file.separator")
+ "myprops.properties" 

tom

-----Original Message-----
From: Chris Malley [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 8 January 2002 4:45
To: [EMAIL PROTECTED]
Subject: Re: startup variables


"Schuring, Tom" wrote:
> 
> hello,
> 
> i am trying to figure out how to pass startup-variables to a
> soap-service.
> 
> I know with a web application i can add something like
> <context-param>
>         <param-name>configFileLocation</param-name>
> 
>
<param-value>E:\\myapp\\config\\config.xml</param-value></context-param>
> 
> to the web.xml file and in the servlet i can access the variable by
> calling application.getInitParameter("configFileLocation") i can then
> use that as a bootstrap to load the rest of my configuration settings.


How does one access ServletConfig.getInitParameter from within
a SOAP service that's implemented as a Java fragment? 

-Chris


-- 
Chris Malley
PixelZoom, Inc.             Voice: +1.303.494.8849
835 Orman Drive             EMail: [EMAIL PROTECTED]
Boulder CO 80303-2616

Reply via email to