• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

forward and execution control

 
Ayman Nour
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I have encountered this question in one of the mock exams.
The execution control returns to the resource that has called the forward() method after the callee resource finishes processing. true of false?
I said it was false...but the answer turned out to be wrong...!! stating this reason...
RequestDispatcher.forward() is also a normal method call, so the control does return to the calling resource.
what do u think of that?
 
noel angel
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
maybe the author meant "include" processing. That is what the description would be be if the answer was true!. Be careful don't believe everything you read is correct. There are mistakes in all books and these sample tests are no exception.
Noel :roll:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic