wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes page initialization paramenters.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "page initialization paramenters.." Watch "page initialization paramenters.." New topic
Author

page initialization paramenters..

mallika shah
Ranch Hand

Joined: May 11, 2006
Posts: 164
here is a question from javaBeat:-

16.Which of the following implicit variables should be used by a jsp page to access a page initialization parameter?
Select 1 correct option.
A.pageContext
B.application
C.config
D.context
E.page

ANS IT SAYS: C

should the ans be C or B ??

mallika
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

No. B will access application initialization parameters, which are shared by all pages, while C will access page initialization parameters, for that page.


[My Blog]
All roads lead to JavaRanch
 
Don't get me started about those stupid light bulbs.
 
subject: page initialization paramenters..