aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Using RequestDispatcher to include static content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Using RequestDispatcher to include static content" Watch "Using RequestDispatcher to include static content" New topic
Author

Using RequestDispatcher to include static content

Wai Yip Lau
Greenhorn

Joined: Jun 20, 2005
Posts: 23
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

Joined: May 05, 2005
Posts: 162
Since it is not included within a scriptlet...

Thanks
Chandu
 
 
subject: Using RequestDispatcher to include static content