Hannah's act of desperation was prayer, not outward acts of her 'sacrifice' or 'faithfulness' in order to find better favor with God.
However, what stops you, as a man, from reminding God about your commitment not to have long hair and plead with him to honor it and grant your request? Is that honestly something you would do?
I'm still trying to find a man to answer 'yes' to this question.
__________________
I've gone and done it now! I'm on Facebook!!!