Hi,
If HttpInvokerServiceExporter is used to export service bean A as HTTP invoker how can A write to a local file in web application's root directory?
From servlet one would simply do the following:
ServletContext sc = this.getServletContext();
path = sc.getRealPath("/path/to/file");
FileOutputStream fos = new FileOutputStream(path);
.....
..
But in the case of service bean A, I am not sure how to achieve this. Ideas?
Regards,
Vladimir


Reply With Quote