I have a situation where I want to create a inputStream from local machine (let's say directory of file is C:\Users\temp\file.txt) to a remote server that has Windows Server 2008.
How can I make the web app use the local version of the file, because I tried this before compiling into a WAR file.
File f = new File("C:\Users\temp\file.txt");
And when I try using InputStream, it crashes. I believe it is referrencing the server's C:\Users\temp\file.txt, which doesn't exist.
I know this is a "dumb" question, but any suggestions would be immensely helpful.