I am working on simple servlet project(on eclipse). The code works with temporary directory and tmp files. My directory for temp files is called "tmp" and it's on WebContent directory of my project.
I want to know - how can I get the path of a file in "tmp" directory (then I will set it as attribute and forward it to jsp which will be responsible for output).
Update: when I open static files from that folder - no problem. But the files created dynamically - it says like: The requested resource (/ASCIIART/tmp/res5252907236669575469.txt) is not available