wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android forum!
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: 24183
    
  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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: RequestDispatcher problem
 
Similar Threads
forward() Method Problem
Which Method Process Forward
RequestDispatcher to servlet
forward issue
Forward from java class