Or, the one you missed out entirely:
3. Ask why they are attacking, and deal with their grievances (be they real or imagined) by rectifying real grievances, and proving the imagined as such.
That's what happened in Northern Ireland, and it seems to be going incredibly well. I'm sure you could rush off and Google for some recent violence in the area, but to compare NI now to how it was will show the true success of the peace process.
But I guess ignoring #3 and just continuing the cycle of violence is fine and dandy, especially if the suffering on your part is minimal, and the violence itself gives carte blanch to extend one's own borders into the land of your "attacker".