jsp - JSTL expression evaluation from a string -


Is it possible to evaluate the string in JSP as an ESL expression and get its value?

I $ {model. An expression like $ {FieldPath}} is required, where the field path must have the required object path from the nested object model.

I am using the actual field path but I am not sure how to evaluate the string and it gets value

Any help of this will be highly appreciated.

I'm not sure that I have understood this correctly, but I think that just you This expression is required:

  $ {model [fieldPath]}  

in EL dot operator and [] membership origin Are similar in appearance: different syntax, but only one access.


Comments