TrainBeaser for iPhone
The moose likes Game Development and the fly likes Doubt in RequestDispatcher concept of servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics
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 opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50689

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
 
subject: Doubt in RequestDispatcher concept of servlets
 
Threads others viewed
doubt in request dispatcher concept in servlets
[HFSJ 2nd Edition] chapter 5 Mock Exam Question # 15
Requestdispatcher
HF Servlets and JSP 2nd ed, ch 5 Coffee Cram, dubious answers
RequestDispatcher Interface.
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture