Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL [] operator query.

 
Nikunj Kshatriya
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given:
------------------------------------------------------

-------------------------------------------------------
Would the above code print "find me!" ?

According to HF S&J pg 428 mock answers it would !
Looking at the specs, I dont think it would not, because the quotes around idx wouldnt allow the request attribute to be evaluated.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is quite easy to test, isn't it?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic