I definitely agree with Mr. Brogden. If you have problems then ignoring exceptions is not a good idea. However:
In a servlet you don't know what the current working directory is. And if you think you do, you still shouldn't use it because it might change when you upgrade your servlet container or move to a different one. But here you are trying to use a file in the current working directory. I suggest that you should use the full path to the file, or to put that path into the configuration as a servlet initialization attribute.
This may or may not be the problem causing your servlet to fail. Or if it is, there may be other problems. So log the exceptions which might be thrown.
posted 4 years ago
Problem solved ...
jar of JDom was in the classpath but it was just copy it to the "lib" folder
Thank you for your help