posted 16 years ago
Show your code.
Thats fine to place images outside the application. Suppose, you have lot of images uploaded by users, consider those as user's data, and more are on the way. It simply means you use file system, instead of database, to store user's uploaded images, which is perfectly fine and have some advantages too that outweighs the disadvantages. Another point is, replacing the application war file with a new version, would result in loss of data, otherwise. Further, placing it somewhere else will even make backup/recovery less troublesome.