In java web application, where should i store users photos?
        Posted  
        
            by 
                stunaz
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by stunaz
        
        
        
        Published on 2011-03-13T22:59:46Z
        Indexed on 
            2011/03/14
            0:10 UTC
        
        
        Read the original article
        Hit count: 178
        
Hello, this questions may be stupid, but i dont really see how to resolve it : lest say that in my application, i have a user. This user edit his profile, and need to edit his avatar.
Where should i store the avatar file? first of all i was saving all the files in src\main\webapp\resources , but each time i redeploy that folder empties.
so i dedide to place in an other location : c:\wwwdir\resources, but i can't link local resources from remote pages, so i was not able to display any avatar .
any idea? advise? link?
© Stack Overflow or respective owner