How do you get creative on a minecraft server?

If you are the server owner (or can get the owners to change game mode or just yours) you can switch it to creative mode in the server conf file or by command in game by and op. otherwise a server in survival mode is staying in survival mode.