I hope this is what you're looking for:
// Get path to webapp's "WEB-INF" directory String webinfdir = msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLETLOCATION); Steve Pannier Jacada, Inc. (763) 201-0002 Ext. 219 [EMAIL PROTECTED] http://www.jacada.com Andrew Vardeman To: [EMAIL PROTECTED] <andrewv@iasta cc: te.edu> Subject: what is the current directory for a service? 05/02/2002 11:14 AM Please respond to axis-user Hi If an axis service uses i/o to read in a file, how are relative paths handled? That is, to what are they relative? To the location of the class? To the webapp root? Or is there a way for an axis service to get ahold of the servletContext and use that to get system paths for URLs? Andrew
