Yeah, I will remember that in future......
As far as sysouts are concerned......i have put them to
test whether the data recieved by the client is correct and the data at every index of array is retrieved corrrectly.....
For eg: i entered the following three names in array
pda123
threat-pc124
piyush_ulti125
and i send the following name from client:
pda
then i print whether s1 = data at index of array, gets pda123 at 1st run of the loop or not,,,it does s1=pda123.....
then i print whether s = data send by client, gets pda or not,,,,it does s = pda
but when i did s1.indexOf(s) it returns -1......how is it possible?
however when i manually took two strings s2 = pda123 and s3=pda, then when i did s2.indexOf(s3) it returns 0 as expected.......
Why is this happening,,,,please help!!!