can someone suggest how possible to interpret
body?
There's no difference in the interpreted Java type of the c:set
's body. It are in all cases just String
.
Even when you set a non-String type as c:set
's body using EL such as
${bean.someInteger}
it'll be converted to String
anyway by String#valueOf()
.
Only when you process the variable afterwards, there may be difference, depending on how you processed it. For example,
One,Two,Three
will result ${realMovieArray}
being a String[]
with values of One
, Two
and Three
.