• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HSFJ Mock exam doubt

 
Amit Hetawal
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
For the below question :


My question is why is Option D not a correct answer.
Cant we use application and config objects to get the initParameters. ??
Please advise
 
Milton Ochoa
Ranch Hand
Posts: 336
Firefox Browser Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you right,

what page is that question?
 
Ryan Beckett
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good question. Apparently, jsp pages are treated as first-class servlet and do have implicit servletConfig objects. I guess its because you can't map a initialization parameter to a jsp page in the DD.
 
Amit Hetawal
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ryan,
Don't we have a



So i think we can map the initialization parameter to the jsp. ??
What do you think ?
 
Ryan Beckett
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your right.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic