hi,
I want to set a parameter for my server (where a configuration file is). I
haven't found any way to provide a parameter to the servlet constructor via
wsdd. I'm trying to achieve this with an environment variable, but it seems
not to work (and it is system-dependent)... Is there any way to tell Axis to
run the constructor of my servlet with a parameter?
I'm developing in Linux with Axis-Tomcat. The code I'm using to get the
environment is:
private static java.util.Properties getEnvironment() throws IOException {
java.util.Properties env = new java.util.Properties();
env.load(Runtime.getRuntime().exec("env").getInputStream());
return env;
}
Thanks
--
Guillermo Arias del Rio
Diplom-Informatiker
Zuse Institut Berlin (ZIB)
Phone: +49 30 84185-222
Fax: +49 30 84185-311