This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RequestDispatcher problem

 
xion ds
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

We have a forum dedicated exclusively to servlet questions. I will move this there for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic