How can I create Variable in Variable in JSP, Same Like PHP

smasif's Avatar, Join Date: Jul 2009
Newbie Member
Hi,

I am programming in PHP since 4 years, I have a project in JSP right now, I want to know How can we create variable in variable as we do in PHP to use dynamically...?

Please help..

Thanks in Advance..

Regards
Asif
0
nimesh's Avatar, Join Date: Apr 2009
Invasive contributor
What do you mean by "variable in variable"?
0
smasif's Avatar, Join Date: Jul 2009
Newbie Member
hi,

I mean same as the functionality of PHP as:

In PHP I can do like this:

$a='Asif';
$b='a';

echo 'Value of a is: '.$$b;

This is will show you the Asif, such functionality i need in JSP..

Thanks & Regards
Asif