Image uploaded by tomcat to cloud storage succeed, but then accessing the image by URL failed

5 pts.
Tags:
Cloud storage
Tomcat
URL
Tomcat DoucmentRoot is set to a virtual file system we developed, such as /mnt/virtualFs Java web applications through the file system to create a file, such as File w = new File ("/mnt/virtualFs/test.jpg") finished then close the file, the direct use of the local file system to read the file succeed, such as the File r = new File ("/mnt/virtualFs/test.jpg") But if you use the Tomcat URL to read the file failed, such as URL url_r = new URL ("http://mnt_ip/test.jpg") If the hard disk file system is used as DocumentRoot, there is no such problem. What's the reason?

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: