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.
Ramesh, There are two steps to accomplishing your goal: 1) Upload file from browser to server. Apache Commons has the sample code for this part. 2) Store the file in the database. For this you need a BLOB which the JDBC tutorial has sample code for.