Hi All,
I need to load a file in the init() method of my
servlet. The problem is that I do not want to specify an absolute path to the file because I want the servlet to run on multiple AppServers. How would I go about doing this? I have tried this approach:
The templates directory is in the Web-inf/classes directory. The problem is that url is always null, so my file is not being found. There should be a way to do this. Can someone help?
Many thanks,
Barry