title: Dynamically save files in web application
body: <p>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.</p>
  
  <p>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).</p>
  
  <p>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 </p>