java - Change File in WebContent during runtime -


i exchange background image in jsf application. want replace image file in webcontent folder on appliaciton. there way during runtime or have solution?

instead of changing files, can not put images in webcontent , handle in code image wants show?

i had situation display images based on users role, kept role1 , role2 images , handled in code.

if images coming @ run time, keep images @ out side of webapps folder (somewhere config) , use specific image. suggestion is, don't keep dynamic data in side webapps folder, remove once server restart.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -