I woudn't mess with web.xml for that. A properties file is ideal in these kind of
cases.
Jai
-Original Message-
From: Barlotta, Timothy - Arlington, VA - Contractor
[mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 11:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Configuration
> My web service receives data and saves it out to a user
> defined directory. Currently I have them defining the
> directory in a file that my web service reads in. However, I
> would like to move this functionality over to web.xml. I'm
> not sure on how to get a handle to the property from t
m the serviceimpl
part of the web service.
Chris
-Original Message-
From: Barlotta, Timothy - Arlington, VA - Contractor
[mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 12:16 PM
To: [EMAIL PROTECTED]
Subject: RE: Configuration setup with web.xml
> Where are you getting the config fr
> Where are you getting the config from? I'm running a web
> service using Axis(the reason I asked on here), and I used
> wsdl2java, so I don't really have a hook to the underlying
> stuff. Can I still pull the properties, or do I need to get
> ahold of the axis servlet?
I am curious what yo
al Message-
From: Barlotta, Timothy - Arlington, VA - Contractor
[mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 11:54 AM
To: [EMAIL PROTECTED]
Subject: RE: Configuration setup with web.xml
Not really a question for the Axis forum but:
If you have a servlet filter and are trying to pass
Not really a question for the Axis forum but:
If you have a servlet filter and are trying to pass in whether you want
it on or not, the code would go in the init method.
public void init(FilterConfig config) throws ServletException {
if(log.isDebugEnabled()) {