After reading the comments here, the only solution is to allow the pals to rain rockets into Israel unfettered.
No. The answer is to give them statehood and help them build (or re-build), or make them Israeli citizens with the same rights and freedoms as everyone else in Israel. Then, the likes of Hamas and Hezbollah wont be the only alternative for these people to turn to.
In time, the Palestinians will flock to the political system that gives them the best day-to-day stability and the feeling that they have a voice in a meaningful democratic process.
To not do these things will serve to perpetuate the conflict indefinitely.