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
Post a Comment