Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

an easier way to tell the . and [] in EL??  RSS feed

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for . and [] in EL

anybody has an easier way to tell the . and [] in EL??

it has too much freedom so that it is out of my control.

Thanks.
 
Adri Smith
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not think there is another way. This is an easy way to access object in all the scope, to access the JavaBeans, a map you would have been defined in your page, etc ... This afford also to have succint expressions compared to the JSP syntax expressions (<%=expr%> .

In fact you do not have to locate your object...

I think the most problem is that you are not used to this syntax yet. Take your time, and you will see the real power of this syntax.

Tiggy
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!