This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFS Q12 Page 219 on RequestDispatcher... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFS Q12 Page 219 on RequestDispatcher..." Watch "HFS Q12 Page 219 on RequestDispatcher..." New topic
Author

HFS Q12 Page 219 on RequestDispatcher...

Gaurav Sahni
Ranch Hand

Joined: Sep 03, 2003
Posts: 56
hello CattlePeople,
Question 12 says: Which statements about RequestDispatcher are true (where applicable, assume the RequestDispatcher was not obtained via a call to getNamedDispatcher() ?

what is this "NamedDispatcher" ? and why is this assumption ?
could not get the details anywhere in the book ...

Regards,
Gaurav


To know recursion, you must first know recursion...
Sami Sayeed
Ranch Hand

Joined: Oct 05, 2004
Posts: 39
Hi,

Named Dispatcher is you could a request dispatcher based on teh name of the servlet.

ServletContext.getNamedDispatcher("nameofservlet");
you dont need to mention the urlPattern in the method
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: HFS Q12 Page 219 on RequestDispatcher...
 
jQuery in Action, 3rd edition