Do the above two sentences convey the same meaning? Yes, and you can also write We have no alternative but to continue the struggle. 'alternative' already contains the idea of 'other', so you don't need 'other alternative'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.