Hi,
A good way to procedd is as follows. To load a file called 'conversion.dat' for the sake of argument, with a path of WEB-INF/currency relative to your application root, put the following in your web.xml (for
tomcat at least!) file straight after your opening <webapp> label:
Now from within your servlet, create a File instance using this path:
Note the getServletContext() method must be called from within a servlet.
You can then treat this file in the normal way.
HTH
Jon
[ May 25, 2004: Message edited by: Jon Entwistle ]