what is functionality of requestdispatcher object servlets

what is functionality of requestdispatcher object servlets

what is functionality of requestdispatcher object

View Answers

May 7, 2012 at 4:13 PM

The RequestDispatcher allows the dynamic inclusion of web components either by including in the current component or by forwarding to another web component. A typical use is to include a standard menu in all pages. This reduces the amount of duplication of content and if the menu has to change, only one file needs editing.

For more information, visit the following links:

http://www.roseindia.net/help/java/d/requestdispatcher.shtml

http://www.roseindia.net/tutorial/java/servlet/httprequest/include.html

Ads









Related Tutorials/Questions & Answers:
RequestDispatcher object, difference between include( ) and forward( ) method.
RequestDispatcher object, difference between include( ) and forward( ) method.  The RequestDispatcher object has two methods, include( ) and forward( ). What is the difference
servlets
what is functionality of requestdispatcher object servlets  what is functionality of requestdispatcher object   The RequestDispatcher allows the dynamic inclusion of web components either by including in the current
Advertisements
servlets
servlets  what is the duties of response object in servlets
What is Light Object Mapping?
What is Light Object Mapping?  Hi, What is Light Object Mapping? Thanks
What is an object's lock and which object's have locks?
What is an object's lock and which object's have locks?   Hi, What is an object's lock and which object's have locks? Thanks
servlets
are the differ ways you can communicat between servlets   Different ways of communicating between servlets:- 1)Using RequestDispatcher object. 2)Sharing resource using ServletContext object. 3)Include response of the resource
servlets
what are advantages of servlets  what are advantages of servlets   Please visit the following link: Advantages Of Servlets
RequestDispatcher
RequestDispatcher       RequestDispatcher class is mainly used to 'pass on' the current request.... A RequestDispatcher primarily contains two methods include() and forward(). include
what is mutable and immutable object in java ?difference ?
what is mutable and immutable object in java ?difference ?  what is mutable and immutable object in java ?difference
what is the working of JVM when An object is created of a class?
what is the working of JVM when An object is created of a class?  what is the working of JVM when An object is created of a class?   When the JVM creates the instance of your class object,the object instance is stored
servlets
what is the architecture of a servlets package  what is the architecture of a servlets package   The javax.servlet package provides interfaces and classes for writing servlets. The Servlet Interface The central
the servlets
what is diff between generic servlets and httpservlets  what is diff between generic servlets and httpservlets   Difference between... is an abstract class which extends Object and implements Servlet, ServletConfig
servlets
what are filters in java servlets  what are filters in java   Filters are powerful tools in servlet environment. Filters add certain functionality to the servlets apart from processing request and response paradigm
servlets
package supports the development of servlets that use the HTTP protocol. The classes in this package extend the basic servlet functionality to support various HTTP... javax.servlet.GenericServlet and serves as the base class for HTTP servlets. HttpServlet-Request
servlets
servlets  why we require wrappers in servlets? what are its uses? Please explain   These wrappers classes help you to modify request...://www.roseindia.net/servlets/response-filte.shtml
servlets
servlets why do we need web-inf directory in web application  why do we need web-inf directory in web application? means what's the benefits of doing so
servlets
servlets   Hi what is pre initialized servlets, how can we achives?   When servlet container is loaded, all the servlets defined in the web.xml file does not initialized by default. But the container receives
What is Java Servlets?
What is Java Servlets?       Servlets are server side components that provide a powerful mechanism for developing server side programs. Servlets provide component-based, platform-independent
servlets
what are sessions in servlets  what are sessions in servlets   A Session refers to all the request that a single client makes to a server...: http://roseindia.net/jsp/jspsession/ http://www.roseindia.net/servlets
Servlets
Servlets  How to edit and delete a row from the existing table in servlets
servlets
what are cookies in servlets  what are cookies   Cookies... regarding the user usage and habits. Servlets sends cookies to the browser client...://www.roseindia.net/jsp/jspcookies.shtml http://www.roseindia.net/servlets/use
servlets
what is the difference between getsession true and getsession fales servlets  what is the difference between getsession true and getsession fales... for the user. If yes, it will return that session object else it will create a new
Servlets
Servlets  How to check,whether the user is logged in or not in servlets to disply the home page
Servlets
. Anyways, please visit the following links: http://www.roseindia.net/servlets/introductiontoconfigrationservlet.shtml http://www.roseindia.net/servlets
servlets
servlets  How to open and read the contents of a text file in servlets?   Please visit the following link: Read text file using Servlet
how to set values in object using java and what are the ways?
how to set values in object using java and what are the ways?  How to set values in object using java ?what are the ways
servlets
servlets  what are different authentication options available in servlets   There are four ways of authentication:- HTTP basic authentication HTTP digest authentication HTTPS client authentication Form-based
Servlets and
Servlets and   Sir...! I want to insert or delete records form oracle based on the value of confirm box can you please give me the idea.... thanks
servlets
servlets  what is ResultSet?   ResultSet is a java object that is used for database connectivity to hold the data returned by a select query. When we run a select query it returns us the data in a table format with each
servlets
servlets  How do u display the list of employee object in JSP page
servlets
servlets  hi i am using servlets i have a problem in doing an application. in my application i have html form, in which i have to insert on date value, this date value is retrieved as a request parameter in my servlet

Ads