V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
pOH8
V2EX  ›  Java

获取 key 后如何用 el 表达式获取 key 对应的值?

  •  
  •   pOH8 · Oct 9, 2015 · 3249 views
    This topic created in 3864 days ago, the information mentioned may be changed or developed.

    就是如何实现这个 ${model.${fieldPath}}
    类似 js 中的 eval
    stackoverflow 上说是不可能的,想知道有什么好的解决方案吗
    http://stackoverflow.com/questions/2850740/jstl-expression-evaluation-from-a-string

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4188 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 05:13 · PVG 13:13 · LAX 22:13 · JFK 01:13
    ♥ Do have faith in what you're doing.