You seem to know nothing about the war in '62. Your perspective is shortsighted and uninformed. I'll break it down for you...
Essentially, the Chinese sucker punched India when we weren't looking and ran back to the LoC when the Indian army was mobilized.
In 1962, the Chinese army was relatively untrained, whereas the Indian army was well disciplined and had plenty of experience under its belt from the world war. The Chinese were interested only in political gains and not a prolonged conflict with India. Which is why they handed back all that they managed to overrun and settled the matter rather quickly. The Sino-Indian war of '62 is one the shortest wars in history. (the 5th shortest if I'm right) China definitely won the battle but didn't stick around to fight the war. Interestingly, the Chinese did precisely the same thing in the Sino-Soviet conflict.
In 1971 however, there was a war, with rather spectacular results for India. East Pakistan was slowly and skillfully carved out of Pakistan through years of subversion, Pakistan's misguided policies, and direct military intervention.
Not only did the war result in the liberation of East Pakistan, it was a catastrophic defeat for the PA, with over 90,000 PoW. India even managed to make gains on the western front but handed them back as per the Simla agreement of '72. As per the same agreement, Pakistan recognized Bangladesh in exchange for the 90,000+ PoW.
I hope you will no longer attempt to compare both wars.
Regards.