How can I  get the full path of an  uploaded file in javascript? It always returns c:\fakepath. This file path is sent directly to the controller using jquery. So, I want the full path for my servlet. Is there any other way?
            Asked
            
        
        
            Active
            
        
            Viewed 1,107 times
        
    -8
            
            
        1 Answers
0
            
            
        No, this is blocked for security reasons.
Browsers hide the full path because it's a breach in security if the website could see the full path to a file you've selected.
 
    
    
        sgtfrankieboy
        
- 1,020
- 3
- 13
- 30
- 
                    ok. how can i get it from background process? – Saranya Jul 01 '14 at 11:15
 
    