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.