Resistance is not permissible when the occupation is the result of the aggression by those now occupied.  For example, resistance by Germans during its occupation by the Allies after world war 2 was not permissible because Germany was the aggressor.  Similarly, resistance by Palestinians is not permissible because Palestinians were the aggressors.  Remember that the West Bank Palestinians had asked for & were granted union with Jordan in 1948.  Palestinians attacked Israel in 1967 as part of the Jordanian army.