JSTL expression evaluation from a string

Posted by Venkatesh on Stack Overflow See other posts from Stack Overflow or by Venkatesh
Published on 2010-05-17T16:12:51Z Indexed on 2010/05/18 12:20 UTC
Read the original article Hit count: 252

Filed under:
|
|

Is it possible to evaluate a String as EL expression in JSP and get value from it?

I need an expression like ${model.${fieldPath}} where fieldPath will contain the required object path from a nested object model.

I can get the actual field path by using but I am not sure how to evaluate a string and get the value from it

Any help regarding this would be highly appreciated.

© Stack Overflow or respective owner

Related posts about jsp

Related posts about el