Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EL Query  RSS feed

 
Nikita Deshmukh
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a few doubts in EL

Is this alloed in EL : ${requestScope["foo"][foobar]}
Can it have two sets of square brackets ??

if you have have no other attrbute by the name of foo in the application then does this retrieve the attribute advice of foo
${foo.advice}

Also it cannot be
${request.foo.foobar}
but it has to be
${requestScope.foo.foobar}
right ??

And is this ok : ${requestScope[foo[foobar]]} ??
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!