• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question ID :997385610793 (JWeb+)

 
Allan Moster
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A jsp page has no page directive. Which of the following are valid implicit variables that will be available in this page?
Answer: config, session
Is there a config implicit variable?
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes,
It has page scope and is an instance of javax.servlet.ServletConfig
------------------
I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
Bal Sharma
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is kinda confusing. Isn't it. Eight implict objects are available in JSP pages. One of them is config. For details regfer JSP spec. page 45-46.

Is there a config implicit variable?

 
Allan Moster
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found it. Thanks!
 
Win Yu
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry , I do not understand the question. I think request and response, out is also avaible. Why just session and config?
 
Paul Anilprem
Enthuware Software Support
Ranch Hand
Posts: 3817
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are right, Win. But those options are not given in the question
------------------
SCJP2, SCWCD Resources, Free Question A Day, Mock Exam Results and More!
www.jdiscuss.com
Get Certified, Guaranteed!
JQPlus - For SCJP2
JWebPlus - For SCWCD
JDevPlus - For SCJD
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic