1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'JSP' started by smasif, Jul 29, 2009.

  1. smasif

    smasif New Member

    Joined:
    Jul 29, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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
     
  2. nimesh

    nimesh New Member

    Joined:
    Apr 13, 2009
    Messages:
    770
    Likes Received:
    20
    Trophy Points:
    0
    Occupation:
    Oracle Apps Admin
    Location:
    Mumbai
    Home Page:
    What do you mean by "variable in variable"?
     
  3. smasif

    smasif New Member

    Joined:
    Jul 29, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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
     

Share This Page