this is good one to go to axis2 FAQ I guss

On 8/21/05, Gordon Gekko <[EMAIL PROTECTED]> wrote:
> Sorry!
> 
> It was a trivial matter.  I didn't notice the method getRealPath(String
> path) of org.apache.axis2.context.ConfigurationContext.
> 
> Diego
> 
> 
> Gordon Gekko wrote:
> 
> > Hi!
> >
> > My web service is basically an interface to a database.  I don't want to
> > hard code the jdbc configuration information so I was thinking about
> > having a configuration file in the axis directory tree maybe in the
> > WEB-INF directory.  I don't want to specify an absolute path in the code
> > because if I deploy the same web service in another system maybe it
> > won't work.  I would like to do something like the following that
> > doesn't work because because the user.dir property isn't axis2 or tomcat
> > home.
> >
> > DocumentBuilderFactory docBuilderFactory =
> > DocumentBuilderFactory.newInstance();
> > DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
> > Document doc = docBuilder.parse(new File("configuration.xml"));
> >
> > Thanks!
> >
> > Diego
> >
>

Reply via email to