wood burning stoves*
The moose likes Servlets and the fly likes servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets " Watch "servlets " New topic
Author

servlets

Madhan Kumar
Greenhorn

Joined: Jan 09, 2006
Posts: 7
what is the use of RequestDispatcher in servlets?
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Mainly to include some content from another source,
or to forward the request to another entity.


[My Blog]
All roads lead to JavaRanch
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Madhan Kumar:
what is the use of RequestDispatcher in servlets?


I think the API documentation explains it pretty well:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/RequestDispatcher.html


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

Also, please read this.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlets