• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

page initialization paramenters..

 
mallika shah
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. B will access application initialization parameters, which are shared by all pages, while C will access page initialization parameters, for that page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic