Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > evaluate a variable in JSTL EL

Thread Tools

evaluate a variable in JSTL EL

Steven M. Lewis
Posts: n/a
Suppose I have a variable in my session foo with a property bar
${} will retrieve its value
Not suppose the string 'foo,bar' is the contents of a variable - say
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??? ${}
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question: Evaluate an string variable's value to a variable Mir Nazim Python 2 12-21-2008 07:05 AM
(struts/JSTL) Setting bean property value with jstl choose compoundresults DaFoot Java 1 10-23-2008 12:42 PM
Cand XSLT evaluate XPath in String variable? Son KwonNam XML 4 01-05-2005 08:47 AM
Custom JSTL that accepts JSTL expression Robert Mark Bram Java 0 12-15-2004 12:26 AM
How can I evaluate a XSLT param/variable during a Xalan C++ transformation ? philips XML 2 07-17-2004 08:28 PM