I have a jar file going to be deployed in the web application web-inf\lib directory. However, one of the method that reading configuration value from a property file distributed together in the jar file fail to read the property file. It was pointing to the windows\system32 direcotry if i access it via
jsp but it works fine if i run it standard-alone. Any way to work around this as this jar file should be self-provide classes, no configuration value should be passed in as argument.
I am using
tomcat 4.1.2. Will it have the same problem if i deploy in other web container such as Webshpere? Any way to make it works across different web containers? Thanks in advance for any reply.