• Post Reply Bookmark Topic Watch Topic
  • New Topic

Don't understand Final Mock Exam #22, 55

 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question 22: Which JSP code would you use to include static content in a JSP?

D. RequestDispatcher dispatcher
= request.getRequestDispatcher("/segments/footer.html");
dispatcher.include(request,response);

Why option D is not correct?

Question 55:
What happen when the following code?

listener class


Any one who understand please explain me, thank you.
 
Lloyd Lane
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as q.55 there's a good thread discussing it
here
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
[ November 24, 2005: Message edited by: Kengkaj Sathianpantarit ]
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!