aspose file tools*
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
Author

Doubt in RequestDispatcher concept of servlets

Saicharan velury
Greenhorn

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
Marshal

Joined: Jan 10, 2002
Posts: 61768
    
  67

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] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt in RequestDispatcher concept of servlets