evaluate a variable in JSTL EL

  • Thread starter Steven M. Lewis
  • Start date
S

Steven M. Lewis

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}
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top