Its not like India or Pakistan are basking in economic glory and can take in un-ending lines of people from their neighboring countries, who want to make few more bucks.
Well you can not put India and Pakistan in the same categories now. India is way ahead in terms of economic growth. Besides it is not like these immigrants just landed up in Jaipur . Some of them have already been living in there since 80's and their second generation is growing up fast now. You can not throw back all these poor people for some "nationalistic" ideology back to their miseries. It is a question of human lives, not of some zealous patriotism. Even in USA those that are born of immgrants are taken care of. And you cannot equate all the immigrants to militants.