posted 19 years ago
Well, this is a tricky and good question.
requestScope - a java.util.Map that maps request-scoped attribute names to their values.
If you want to use [] operator on the requestScope Map, the value evaluated for the expression used within the [] should be available as "key" for any object stored in the request scope. For example, look at the following JSP:
The output is:
Here person["name"] is evaluated to "Sangeetha" which in turn is the key for object "list" stored in the requestScope Map.
Thanks,
Durga
Thanks,<br />Durgaprasad<br />SCJP1.4, SCWCD1.4, SCBCD1.3,<br />SCEA