• Post Reply Bookmark Topic Watch Topic
  • New Topic

EL & Bean class !!!

 
Amitkumar Dhama
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all this is amit...

1. Can anybody tell me in EL suppose i am writing

${person.name}

then in which scope it will be searched first by the container?

2. one more question, how does the container find bean classes. means where to put them so that they will be visible to the container....???

thanking in advance......
 
Chandra Atla
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. First it will search in page scope. Then request, session and application scopes in the sequence.

2. You can put in any of the above scopes.. i.e. page, request, session and application scopes

Thanks,
Chandra
 
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!