Servlet java file without any submit action from a jsp - application using upload file (Zero script)

When I click on upload button, need to call the servlet and upload the selected file using zero java script function. Can you please suggest any method or function or help me to proceed further?