java - How to add external resources to dynamic web project eclipse? -


i'm creating dynamic web project in eclipse using jsps , java servlets, want add external files edited using app. put them such can open them app , save edited version - , provide link download of edited file?

thanks

where put them

nobody cares. really. long it's not in deploy folder, of course.

if concrete problem avoiding hardcode exact external location in java source code, provide vm argument, environment variable, properties file setting, or whatever externally configurable. detail, see recommended way save uploaded files in servlet application.

and/or if concrete problem serving files web, either tell server publish external location web well, or create servlet reads external location , writes response. detail, see load images outside of webapps / webcontext / deploy folder using <h:graphicimage> or <img> tag.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -