Returns a URL to the resource that is mapped to a specified path. The path must begin with a "/" and is interpreted as relative to the current context root.
This method allows the servlet container to make a resource available to servlets from any source. Resources can be located on a local or remote file system, in a database, or in a .war file.
There isn't really an easy way to get a context-param evaluated and have it different for different environments, but there is something you can to help make this easier.
Set a system property pointing to the location for your csv files. You could call that something like CSVPATH. Then you would set that on the command line when starting Tocmat. Maybe something like:
You would then reference that value in your code when retrieving the files. For more info, please reference the Java core API docs in regards info on system properties. That should do the trick.