Use transactions in UploadServlet