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

 
 


Nagendran
what is functionality of requestdispatcher object servlets
1 Answer(s)      a year and a month ago
Posted in : Servlet Interview Questions

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 Pages:
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
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
servlets  what is the duties of response object in servlets
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 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
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
RequestDispatcher
RequestDispatcher       RequestDispatcher class is mainly used to 'pass on' the current request.... A RequestDispatcher primarily contains two methods include() and forward(). include
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  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
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
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
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 are advantages of servlets  what are advantages of servlets   Please visit the following link: Advantages Of Servlets
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
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
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
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
RequestDispatcher vs sendRedirect
RequestDispatcher vs sendRedirect     ... between a requestDispatcher's forward() and sendRedirect() of the ServletResponse interface. Forward Since forward() method of RequestDispatcher is handled
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
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
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
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
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
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
servlets
what is the difference between dopost and doget methods  what is the difference between dopost and doget methods   doGet is used when there is are requirement of sending data appended to a query string in the URL
the servlets
what is the use of servlet context  what is the use of servlet context   ServletContext is a interface which helps us to communicate with the servlet container. There is only one ServletContext for the entire web
servlets
servlets  Even though HttpServlet doesn't contain any abstract method why it is declared as abstract class? what benifits we can get by declaring like this?(i.e, with out containing the abstract methods, declaring a class
SERVLETS
SERVLETS  I follow the same procedure what you send by the links.but i got the same errors coding is: import java.io.*; import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; public class
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 - Java Interview Questions
Servlets  What is the difference between servlet context and servlet... of methods that a servlet uses to communicate with its servlet container. These object is contained within the ServletConfig object. Specifies the param-value pairs
servlets - Servlet Interview Questions
is,what is the difference between servletcex and servletconfig(full flezed... object used by a servlet container used to pass information to a servlet during... in deployment descriptor. The ServletContext object is contained within
What is Light Object Mapping?
What is Light Object Mapping?  Hi, What is Light Object Mapping? Thanks
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
Use Java Bean In Servlets
Use Java Bean In Servlets In this you will learn how to use Java Bean in Servlets. For this purpose, we have created a Bean named 'Person' and defined three variables with their setters and getters. Then we have created an object
Interview Questions - Struts Interview Questions
-forwards> public interface RequestDispatcher Defines an object... the RequestDispatcher object, which is used as a wrapper around a server resource... is intended to wrap servlets, but a servlet container can create RequestDispatcher
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
jsp -servlets
jsp -servlets  i have servlets s1 in this servlets i have created emplooyee object, other servlets is s2, then how can we find employee information in s2 servlets
servlets and struts
servlets and struts  wat is the diffrence between servlets and struts... and builds on standard functionality to also provide view (as well as controller) functionality
Authentication in Servlets
Authentication in Servlets  What are different Authentication options available in Servlets
Object in java - Java Beginners
Object in java  Hi deepak, I am new to java, can u tell me what is class ,object and instance with example. For example : class raja , raja r = new raja(); ,here raja is class and r is instance . which is object. Object
how to add pageup page down functionality in scrolpane
how to add pageup page down functionality in scrolpane  how to add pageup page down functionality in scrolpane. In my GUI untill i dont click on screen area , the page up & pagedown button not works . what should i do to make
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
advantages of Servlets
advantages of Servlets  What is advantages of Servlets ?    Portability. Powerful. Efficiency. Safety. Integration. Extensibilty. Inexpensive