Should be able to do this in the Handler...
AxisHttpSession session = (AxisHttpSession)
MessageContext.getCurrentContext().getSession();
HttpSession httpsession = session.getRep();
String propertiesUrn =
httpsession.getServletContext().getRealPath("/WEB-INF/properties/somefile.properties");
Hope this helps,
Mark Malinoski
Consultant
AES/PHEAA
Alistair Young
<[EMAIL PROTECTED]
.ac.uk> To
[email protected]
06/21/2005 09:50 cc
AM
Subject
BasicHandler and real path
Please respond to
[EMAIL PROTECTED]
he.org
Is there any way a BasicHandler or a jax-rpc Handler can find out the
real path of a file? where servlets have getRealPath, do handlers
have anything similar?
Otherwise there's no way for a handler to load it's config file
without specifying the full path in the wsdd as a <parameter>.
ta,
Alistair
