would it require any file uploading code or just JDBC insert statement ?
It seems you are not clear about the technology. Since you are a gujarati would like to give some details.
File uploading is different then JDBC insert statement.
File upload gives you data in binary stream.
For storing image in database your database should support blob type.
Moreover it is not advisable to store many images in database, best solution is to store it in a file system(ie. on your machine) and store the path detail in DB.
For file uploading and storing in the database you can use
struts framework instead of writing everything by using servlet.
Hope this helps.