axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dies Koper <d...@jp.fujitsu.com>
Subject Re: Path from the webapp
Date Thu, 18 May 2006 10:00:50 GMT
Hello Ralph,

Check out the JAX-RPC spec.
You can get to the servlet context by implementing the ServletLifecycle 
interface in your implementation class.

Regards,
Dies

ebaykunde@arcor.de wrote:
> Hi,
> 
> I use Axis 1.4.
> 
> In the axis web app I have a directory 'update'.
> In my service implementation I want to read the files in the directory.
> String directory = ...;
> File file = new File(directory);
> 
> The first problem is how I can get the string directory dynamically from the
> xxxServiceBindingImplementation. I have no servlet context there.
> I need the directory in the form like d://tomcat/webapps/update.
> 
> Another problem:
> Can I get the url from the xxxServiceBindingImplementation for instance:
> http://localhost:8080/myapp?
> 
> Can anybody help me?
> 
> Thanks!
> 
> Regards,
> Ralph


Mime
View raw message