candidate: In addition Midway paved the way for the landings on Guadalcanal , and the prolonged attrition of the Solomon Islands campaign , both of which finally allowed the Allies to take the strategic initiative and swing onto the offensive for the rest of the Pacific War .