Persian invasion

What was the weakness of the Persian army during the second invasion of Greece? How did the Greeks plan to take advantage of this weakness?