Hi Marco,
While I would argue that this sort of processing would be best done in a
servlet, bean or custom tag rather than in code directly on a JSP, I'm not sure exactly what aspect of file I/O you are having difficulty with.
If the files reside outside of your web application (which is what I am guessing based upon your post) and you know where the files are, "normal" file I/O should suit you just fine.
If you want to "feed" your web application the location rather than hard-coding it in the code (always a good idea), you can use init params in the web.xml to let your app know where to look for the files.
If the files
are within your web application and you need to locate them relative to the root of the web app, the ServletContext.getRealPath() method is your best friend.
Does any of this help? Or am I completely missing what problem you are having?
hth,
bear