||| I think there is one thing I NEED to do if I want to access 
||| the file as a
||| servlet resource.
||| Register the name of the flat file in the web.xml as 
||| init-param and access
||| it via ServletContext.
||| 
||| Am I right? I will try that but please do comment/correct 
||| on anything this topic.

no you don't need to do that.  If you have deployed your application as a
web-app, you can access *ANY* resource using:

ServletContext.getResouceAsInputStream("/myfolder/mydirectory/myfile.txt");



____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to