Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Servlet-Interview-Questions what is functionality of requestdispatcher object servlets

Have Programming Question? Ask it here!
 
 
 


Nagendran
what is functionality of requestdispatcher object servlets
1 Answer(s)      2 years and 3 months ago
Posted in : Servlet Interview Questions


what is functionality of requestdispatcher object


Advertisement
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 MD5 function in PHP?
What is the functionality of MD5 function in PHP?  What is the functionality of MD5 function in PHP
Advertisements
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
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
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 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
servlets
servlets  what is the duties of response object in servlets
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
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 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
Functionality of the stub
Functionality of the stub  hii,, What is the functionality of the stub?   hii Stub: Stub is a client side representative. The functionality of stub is Marshalling and Unmarshalling in RMI(Remote method invocation
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
what are advantages of servlets  what are advantages of servlets   Please visit the following link: Advantages Of Servlets
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
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 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
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
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
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 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
Java Servlet :RequestDispatcher Interface
in javax.servlet package. RequestDispatcher object contains request of client... is responsible for creating object of  RequestDispatcher which is used...Java Servlet :RequestDispatcher Interface In this tutorial, you will learn
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
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
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
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
servlets  why we are using 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
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
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
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 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
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
. 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 use RequestDispatcher include method
Description: The interface RequestDispatcher object receive requests from.... There are two method of the RequestDispatcher one is forward and other is include. So...;); RequestDispatcher rd = request.getRequestDispatcher("/index.jsp"); rd.include
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
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
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
Servlets
Servlets  What is the filter code to authenticate the user
servlets
servlets  How do u display the list of employee object in JSP page
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
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 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
Advertisements
 

 

 

DMCA.com