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 have used CommonsFile to upload a file to my server and write the BLOB into the database. When i retrieve the Blob from the database how can i provide it for the user to download as file. Should i write it to a File before i send it to the client. or can i send the Input/Output stream directly to the client by setting the appropriate response type? I am not able to get wat to do. Help me on this regard