Click to See Complete Forum and Search --> : Servlet


java_crazy
04-09-2008, 01:27 AM
hi all,

I have a problem in servlets
i have seen a code

String no = (String) session.getAttribute("no" + i);

Can anybody tell me what is the significance of + i
in session.getAttribute()

Thanks and Regards

Hydro
04-09-2008, 03:43 AM
I would have said the +i is a variable defined in a loop or code laid out earlier by the original coder.

java_crazy
04-09-2008, 03:57 AM
Hi Hydro

thanks for yr reply

regards,