How to save the uploaded file to oracle database in JAVA

hello!when i uploaded the file,I want to save it in oracle database,i don not know how to save the uploaded file in my JSPservlet.please give me some advice?thanks?

Java form handle -> apl.jhu.edu/~hall/java/Servl … -Data.html

on your vault object:

vault.onFileUploaded = function(file) {
var poststr=“sessao=novo&filename=” + file.name + “”;
dhtmlxAjax.post(“your_page_name_that_receives_the_file_name_and_save_on_db.jsp”, encodeURI(poststr), function(loader){
alert(loader.xmlDoc.responseText);
});

			    };

The easiest way is to add your DB code into uploadhandler.