File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

page initialization paramenters..

 
mallika shah
Ranch Hand
Posts: 164
  • 0
  • 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
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic