Believe in yourself and develop a thick skin. Don't take rejection by publishers to heart. None of them like taking risks and taking on a new, unknown writer is a big risk. It's much safer for them to turn you down than to say yes. That way they keep their job and they can go on looking for something successful to copy.