I have made a java application that stores data from a .csv file to a MySql database. Now my client want it to upload this application to his web space (web space he has taken f
Having "web space" doesn't necessarily mean he has sufficient access to the server to run arbitrary programs (or a MySql database).
You could potentially rewrite the app as a web application, but that may well not be a good fit.
The first thing to check is whether he can log in to run programs from a console of some description. If he can, that's fine - and the way to go. If he can't, you'll need to think about why he really wants it to be on his web server, and whether it makes sense to run the app there - or whether it would be better to do it elsewhere.