Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reuest dispatcher

 
sitaram irrinki
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While using RequestDispatcher.forward(), i tried to print request object

<% out.println(request);
RequestDispatcher rd = req.getRequestDispatcher("/resone");
rd.forward(request, response);
%>
-------------------------------------------------------------------------
in resource which got forwarded

<% out.println(request) %>
---------------------------------------------------------------------
it is showing different request objects, why?
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can you tell they are different?
 
Amarender Reddy
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sitaram,

can u explain the question more broadly
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic