Meaningless Drivel is fun!*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes attributes and listener hfsj question 10 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 "attributes and listener hfsj question 10" Watch "attributes and listener hfsj question 10" New topic
Author

attributes and listener hfsj question 10

Ankur Jain Kothari
Ranch Hand

Joined: Feb 08, 2010
Posts: 154
The option says that a Requestdispatcher can be used to forward a request to antoher servlet...the book says that this is right...but isnt this sentence incomplete? a Requestdispatcher can be used to forward request even to a jsp right? please clarify


Do What You Wanna Be....Taking Things The Way They Come
scjp 1.6 91 percent, scmad 90 percent(rounded off to nearest integer)
Sebastian Janisch
Ranch Hand

Joined: Feb 23, 2009
Posts: 1183
A JSP is a Servlet ;-)


JDBCSupport - An easy to use, light-weight JDBC framework -
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

The request dispatcher can be used to forward/include the output of a dynamic resource (servlet/Jsp) or even a static resource like an HTML page...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: attributes and listener hfsj question 10
 
Similar Threads
How can we call servlet from servlet?
Errata in HFSJ
Re directing
Doubt from HFSJ regarding request dispatcher question from ch5
When an error occurs, you can use RequestDispatcher to forward a request to another resource to hand