This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson 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.