Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

attributes and listener hfsj question 10

 
Ankur Jain Kothari
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A JSP is a Servlet ;-)
 
Ankit Garg
Sheriff
Posts: 9521
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic