This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I save file in "WEB-INF/activity_files/activity1" location. All file types get saved.
Here I am stating the problem and then the code I am using to download:
Problem: When I click on download link, I get the file download window with some weird file name with right file type icon on it and when I save..., some raw type file is saved.
The file saved is of correct size but the name is not the same and the file is not associated with any file type.
This is first time I am implementing file download.... I need help to diagnose and find solution. I appreciate any help.