File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 24199


Welcome to JavaRanch!

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

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: RequestDispatcher problem
It's not a secret anymore!