This week's book giveaways are in the Cloud and AI/ML forums. We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line! See this thread and this one for details.
I would like to know what is the best way to upload & download files using Servlets/Jsp's . In some websites I have seen example using third party API(by oreilly). Is it better to follow any third party or can we do it just by using I/O streams. Can someone explain the steps of uploading files. And where do we need to store files once the user uploads ,Database or server??
Don't use the O'Reilly stuff, it's obsolete. http://commons.apache.org/proper/commons-fileupload/ is a better choice. That site has an extensive user guide with example code that should get you going. And yes - it's better to use an existing solution than to write and debug one yourself.
And where do we need to store files once the user uploads ,Database or server?
You store them wherever it's convenient and makes sense for your application.