Meaningless Drivel is fun!
The moose likes Game Development and the fly likes Doubt in RequestDispatcher concept of servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Game Development
Reply locked New topic

Doubt in RequestDispatcher concept of servlets

Saicharan velury

Joined: Jul 22, 2008
Posts: 3
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

Joined: Jan 10, 2002
Posts: 63854

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.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Doubt in RequestDispatcher concept of servlets
It's not a secret anymore!