I have questions about EL . should the [] contain "" or not ?
Page 375 says tat if there are no quotes inside brackets , container evaluates by searching for an attribute.
But for drop magnet question in Page 380 , toys[1].name is given as the correct answer. I was expecting toys["1"].name since without "" , container would start searchnig for an attribute.
And book also warns that rules of
java generally dont apply to EL .So I thought , plain Java array addressing of toys[1].name cannot be inside a ${} expression.
Can someone clarify this ? Thanks