Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using RequestDispatcher to include static content

 
Wai Yip Lau
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am doing HFSJ final mock. For Q22, it ask if I can use rd to include static content:

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

Why it is not a option???
Thank You.
 
Chandra Sagi
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since it is not included within a scriptlet...

Thanks
Chandu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic