Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RequestDispatcher Interface.

 
geet kaur
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depending on the class whose method creates a RequestDispatcher,the path to the resource to be forwarded to will change.

can anyone please ellaborate??
 
Deepakkumar Devarajan
Ranch Hand
Posts: 54
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
geet kaur wrote:Depending on the class whose method creates a RequestDispatcher,the path to the resource to be forwarded to will change.

I did not understand what are trying to ask... getRequestDispatcher(), a method of the class ServletRequest returns the RequestDispatcher object that acts as a wrapper for the resource located at the specified path. Using this reference, you can forward the response and request to the specified path. I am not sure whether i answered your question. Please question a little clearly if not.

Regards,
Deepakkumar Devarajan
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic