aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes How to put instant / local variables in page scope explicitly? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "How to put instant / local variables in page scope explicitly?" Watch "How to put instant / local variables in page scope explicitly?" New topic
Author

How to put instant / local variables in page scope explicitly?

yamini nadella
Ranch Hand

Joined: Apr 13, 2004
Posts: 257
According to below answer how to put variables into page scope?


Anthony Watson
ranch hand
--------------------------------------------------------------------------------
1) Instance variables are available anywhere on the page/translation unit. Local variables are available anywhere on the page after they have been declared. You could say that instance and local variables have page scope, but they will not be placed into the page context unless you explicitly put them there.
Osama Hasan
Ranch Hand

Joined: Sep 30, 2002
Posts: 53
Here putting variables into page context means to add them to the attribute-list of the page context object.


SCJP 1.4<br />SCWCD 1.4
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to put instant / local variables in page scope explicitly?
 
Similar Threads
might not have been initialized
Local variables
is scopes related to attributes only or for variables also?
initialization error
Autoboxing and initialization of non-instance variables (Need cameron's permission)