Meaningless Drivel is fun!*
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
Author

RequestDispatcher problem

xion ds
Greenhorn

Joined: Nov 01, 2004
Posts: 1
Hi

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);
rd.forward(req,res);

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

Joined: Jul 08, 2003
Posts: 24187
    
  34

Hi,

Welcome to JavaRanch!

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


[Jess in Action][AskingGoodQuestions]
 
GeeCON Prague 2014
 
subject: RequestDispatcher problem