This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes Servlets and the fly likes RequestDispatcher problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "RequestDispatcher problem" Watch "RequestDispatcher problem" New topic

RequestDispatcher problem

xion ds

Joined: Nov 01, 2004
Posts: 1

any idea abt when we call forward of a request dispatcher in a servlet doget method? what happens to the code after the forward statement ?
Will it be excuted ? My requiremnt is i want to cache my page after the forward iscalled.

An example is >>
RequestDispatcher rd = sc.getRequestDispatcher(requestReceiver);

// some other code
} // end of doget method
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24189


Welcome to JavaRanch!

We have a forum dedicated exclusively to servlet questions. I will move this there for you.

[Jess in Action][AskingGoodQuestions]
Have you tried LearnNowOnline?
subject: RequestDispatcher problem