Reputation: 12743
We are using 3rd-party tool which provide request parameter as "A:B","A:C","A:D"
where A
is service (TOOL TERMINOLOGY), and B
, C
, D
are parameters.
How to access a variable using EL?
If I am providing ${param.A:B}
, it throws exception. Even I tried with ${param.'A:B'}
.
Note: We are avoiding scriptlets as much as possible.
Upvotes: 1
Views: 186
Reputation: 1
Use ${param['A:B']}
. This is an alternative to dot notation in the expression language.
Upvotes: 2