I have a web app deployed on Tomcat on Windows 7. I have various files on the PC, local file system, that I want to access from my web app. How can I do this or is this possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ok, looks like I found the solution.
Can just use the File() object with absolute paths and that does the trick.
I thought there would be some special requirements for web apps but it looks like there isn’t