evaluate a variable in JSTL EL

Discussion in 'Java' started by Steven M. Lewis, May 8, 2004.

  1. Suppose I have a variable in my session foo with a property bar
    ${foo.bar} will retrieve its value
    Not suppose the string 'foo,bar' is the contents of a variable - say
    param['myvalue']
    I want to say something like ${eval(param['myvalue'])} and get the
    same as
    how short of writing a custom function do I do that??? ${foo.bar}
    Steven M. Lewis, May 8, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Robert Mark Bram

    Custom JSTL that accepts JSTL expression

    Robert Mark Bram, Dec 15, 2004, in forum: Java
    Replies:
    0
    Views:
    968
    Robert Mark Bram
    Dec 15, 2004
  2. philips
    Replies:
    2
    Views:
    672
    philips
    Jul 17, 2004
  3. Son KwonNam
    Replies:
    4
    Views:
    7,029
    Joris Gillis
    Jan 5, 2005
  4. DaFoot
    Replies:
    1
    Views:
    1,684
    DaFoot
    Oct 23, 2008
  5. Mir Nazim
    Replies:
    2
    Views:
    346
    Mir Nazim
    Dec 21, 2008
Loading...

Share This Page