Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

Search: 

  Tutorial: Using [ ] operator of EL with the Map

EL expressions are always used within curly braces, and prefixed with a dollar($) sign and $(expression). The first named variable in the expression is either an implicit object or an attribute stored in one of the the four scopes i.e. page, request, sess

Tutorial Details:

EL expressions are always used within curly braces, and prefixed with a dollar($) sign and $(expression). The first named variable in the expression is either an implicit object or an attribute stored in one of the the four scopes i.e. page, request, session, or application. The [] operator is much more powerful than the dot, because it lets you access Map key or a bean property name as well as the access to arrays and Lists.

Map stores the values in the form of a key- value pair. Map can't have a duplicate keys, and each key is associated with at least one value. In map we can retrieve the value by using ${map["0"]}.


 

Rate Tutorial:
http://www.roseindia.net/jsp/simple-jsp-example/UsingThe%5B%5DoperatorWithAMap.shtml

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
Using [ ] operator of EL with the Map

View Tutorial:
Using [ ] operator of EL with the Map

Related Tutorials:

Displaying 1 - 0 of about 0 Related Tutorials.

Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.