Friday, November 22, 2002 07:21 AM
I want to have a servlet or jsp serve a file on my hard drive. The file will not be in the tomcat directory, or at least not in the webapps directory.
I want the file to not be directly linked to so I can check to see if a session variable exists first, and then serve the file.
If anyone has code examples of this, I would be eternally greateful if you could direct me to it. Namely servlet code that serves a file back to the requestor.
Thanks in advance.