问题描述:

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?

网友答案:

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

相关阅读:
Top