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









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
WHAT IS THE FUNCTIONALITY OF THE FUNCTIONS STRSTR() AND STRISTR()?
WHAT IS THE FUNCTIONALITY OF THE FUNCTIONS STRSTR() AND STRISTR()?  WHAT IS THE FUNCTIONALITY OF THE FUNCTIONS STRSTR() AND STRISTR
Advertisements
What is the functionality of MD5 function in PHP?
What is the functionality of MD5 function in PHP?  What is the functionality of MD5 function in PHP
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
What is Light Object Mapping?
What is Light Object Mapping?  Hi, What is Light Object Mapping? Thanks
servlets
servlets  what is the duties of response object in servlets
what is object chaining? - Hibernate
what is object chaining?   daoobject.getsession().begainTransaction; can any one explain the code, i am understanding this line when iam working with swt and hibernate
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
What are the methods in Object? - Java Beginners
What are the methods in Object?   Hi, What are the methods in Object? Give example of methods in Object. Thanks   Hello, There are lot of method in object class some of are as follows toString(); wait
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
RequestDispatcher
RequestDispatcher       RequestDispatcher class is mainly used to 'pass on' the current request.... A RequestDispatcher primarily contains two methods include() and forward(). include
What are the features and advantages of OBJECT ORIENTED PROGRAMMING?
What are the features and advantages of OBJECT ORIENTED PROGRAMMING?  What are the features and advantages of OBJECT ORIENTED PROGRAMMING
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 are advantages of servlets  what are advantages of servlets   Please visit the following link: Advantages Of Servlets
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
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
Functionality of the stub
Functionality of the stub  hii,, What is the functionality of the stub?   hiiADS_TO_REPLACE_1 Stub: Stub is a client side representative. The functionality of stub is Marshalling and Unmarshalling in RMI(Remote
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
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
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 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
servlets
servlets  why we are using servlets
What is the difference between mysql_fetch_object and mysql_fetch_array?
What is the difference between mysql_fetch_object and mysql_fetch_array?  What is the difference between mysqlfetchobject and mysqlfetcharray
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
servlets  How do you communicate between the servlets?   We can communicate between servlets by using RequestDespatcher interface and servlet chaining
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
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
Object
Object       An object... states and the methods are just like behaviors (providing some functionality). In an object, variables store values for later use and methods are the unit
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
RequestDispatcher in java
the ServletContext. Retrieved RequestDispatcher object is used as a wrapper...RequestDispatcher in java We are going to describe RequestDispatcher in java. RequestDispatcher is an interface that transfers the control from current web
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
Requestdispatcher in JSP
Requestdispatcher in JSP We are going to discuss about requestdispatcher in JSP. In this example we have used JSP requestdispatcher. requestdispatcher transfers the request to another JSP page. In this example we have created three
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
sms functionality
sms functionality  i want to implement sms functionality in web site for sending as well as receiving.i am using jsp and xamp as backend.please guide me
servlets
the information of the student and stores that into a resultset object. now to display... the student details in a servlet and stores that into one resultset object 3)forward... in the resultset object i have to display in this jsp page plz help me  
Servlets
Servlets  What is the filter code to authenticate the user
servlets
what are the two important api in for servlet  what are the two important api in for servlet   Two important packages are required to build servlet "javax.servlet" and javax.servlet.http
servlets
what are the different ways we can maintain state between request  what are the different ways we can maintain state between request   Different ways of maintaining state?s between stateless requests: 1)URL rewriting
servlets
servlets  q)What will happen if you donā??t write the implementation in service () of our Servlet? Which method () it will call? q2)How many times init() execute and what happen if browser is close and server shutdown ? JSP
servlets
what is url rewriting  what is url rewriting   It is used to maintain the session. Whenever the browser sends a request then it is always interpreted as a new request because http protocol is a stateless protocol

Ads