aspose file tools*
The moose likes Servlets and the fly likes reuest dispatcher Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "reuest dispatcher" Watch "reuest dispatcher" New topic
Author

reuest dispatcher

sitaram irrinki
Ranch Hand

Joined: Feb 16, 2005
Posts: 158
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

Joined: Mar 06, 2001
Posts: 13459

How can you tell they are different?
Amarender Reddy
Ranch Hand

Joined: May 12, 2005
Posts: 54
sitaram,

can u explain the question more broadly
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reuest dispatcher