My web application is written using jsp/javascripts. Backend Java. Have managed to implement the code to save an image outside webapplication, because I dont want to save the images in webapp/images folder(because when the server is down and when rebuild the app, I lose those saved images). What I want is to access those images I saved in my local directory again from my web app but I dont know how to. How can I access my local folder from jetty server, and jetty server is running on the same local machine…
My web application is written using jsp/javascripts. Backend Java. Have managed to implement the
Share
Get the path to
/imageto store & read files byEven you can read the file from external location from your servlet
Also See