aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes scope related question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "scope related question" Watch "scope related question" New topic
Author

scope related question

Deepinder S Narang
Greenhorn

Joined: Sep 05, 2006
Posts: 21
Hello

It is mentioned that when the attributes are not found in pageScope then they are looked for in request and then session and then application.

But what if i have mentioned the scope=session and it doesnt get the attribute there ......... will it start searching from page or will search in only applicationscope as only that thing comes after session scope in the hierarchy .... ?
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

I am not sure about this, but i think if you are going to mislead the container, it will not like it
So, if you say that its in the session scope, it better be there !!!


apigee, a better way to API!
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

If you explicitly tell in which scope to look for, the container won't look anywhere else.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: scope related question