Combining a string with the value of a variable to be the name of another variable in EL

后端 未结 4 1243
Happy的楠姐
Happy的楠姐 2021-02-19 07:12

I want to do something like this:


But it does not work throws exception: \"${summary${selChrm

4条回答
  •  半阙折子戏
    2021-02-19 07:48

    Step one:

    Step two:

    Simple as that :)

    UPDATE as BalusC mentioned in comments, you need 3.0 Servlets to use this.

提交回复
热议问题