• Post Reply Bookmark Topic Watch Topic
  • New Topic

EL Expressions Question

 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the default scope that an el expression looks in ??
And if the variable is not contained in the default scope, does it look for other scopes.
 
Mahesh Desai
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EL expression looks for the attributes in four scopes, i.e. page, request, session, and application and it would return its value. If the attributes isn't found, it would return null.

Thanks,
Mahesh

--------------------
SCJP 1.4 | SCWCD 1.4 | SCBCD 1.3 | SCEA Part I - In Progress
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!