Some comments in no particular order:
The rs.beforeNext() statements in lines 32 and 47 of the JSP don't accomplish anything, and neither do the import statements in line 1 and 2.
You should not have
Java code in JSPs - read up on the MVC pattern, and start implementing it.
You don't need to load the DB driver every time you make a DB call. In fact, you shouldn't. Move that code to a servlet context listener class.
You should close DB connections once you're done with them.
The likely problem is the fact that the file upload library alters the parameter handling, and you need to take a different approach. Search for "Process a regular form field" in
http://commons.apache.org/proper/commons-fileupload/using.html.
But if that's the issue I'm confused - you said you checked that the parameters are getting to the server OK, right? So all the variables in lines 56-62 of the servlet had correct values, yes?