I am trying to implement a search page where users names will show along with their photos which are stored in db as blob
My xhtml page
but i am getting the following exception
but my arraylist is getting populated as I am getting the names. Then how can it get index out of bound exception..please help..I have been stuck in this code for 4 days...!