Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

Doubt in RequestDispatcher concept of servlets

 
Saicharan velury
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'm working to get certified in SCWCD exam.when i was referring "headfirst for jsp and servlets" and studying RequestDispatcher concept i came across a statement whose meaning i did'nt understand. The statement is

Depending on the class whose method creates a RequestDispatcher the path to the resource to be forwarded to will change.

as far as i understood after setting request attributes and then using request dispatcher you forward the request to some other jsp or servlet,then in that destination servlet or jsp you can retrive their attributes using the attribute key.

what is the relation between the class creating the requestdispatcher and the resource to which the requst is forwarded.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64700
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.
 
    Bookmark Topic Watch Topic
  • New Topic