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



Home Answers Viewqa Servlet-Interview-Questions Servlet Interview questions
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Gopal Krishna
Servlet Interview questions
1 Answer(s)      5 years and 3 months ago
Posted in : Servlet Interview Questions



Advertisement
View Answers

November 26, 2009 at 1:05 PM


Hi Friend,

A RequestDispatcher object can forward a client's request to a resource or include the resource itself in the response back to the client. A resource can be another servlet, or an HTML file, or a JSP file, etc.

A sendRedirect() method sends the client request to some other site or
any resourse like another servlet, html file or a jsp file,etc.

For more information,please visit the following links:

http://www.roseindia.net/servlets/SendRedirect.shtml
http://www.roseindia.net/servlets/search.shtml

Thanks


Related Tutorials/Questions & Answers:
java - Servlet Interview Questions
java  servlet interview questions  Hi friend, For Servlet interview Questions visit to : http://www.roseindia.net/interviewquestions/servlet/ Thanks
interview question - Servlet Interview Questions
interview question  What is Servlet? Need interview questions on Java Servlet  Servlet is one of the Java technologies which is used... according to your experience.And for collection of Java Servlet Interview Question you
Advertisements
Servlet Interview questions - Servlet Interview Questions
Servlet Interview questions  what is RequestDispatcher in servlets? what is SendRedirectin servlets? give the answers for these two questions... back to the client. A resource can be another servlet, or an HTML file, or a JSP
java - Servlet Interview Questions
Java Design Patterns Interview Questions and Answers  I need to know Java Design Patterns with the help of Interview Questions and Answers  ... implemented Servlet and ServletConfig interface for developing GenericServlet.And also
servlet - Servlet Interview Questions
Servlet Priority  How to set priority for servlet?  in web.xml file we can set priority of servlet. 1 2
servlet - Servlet Interview Questions
servlet  what is the full form of servlet
servlet - Servlet Interview Questions
servlet  what is the full form of servlet
servlet - Servlet Interview Questions
naming convention for servlet in java  Need to know the naming convention for servlet in java  Hi,Yes servlet.jar and servlet-api.jar is the same file. In case of tomcat servlet.jar is just renamed to servlet
Servlet - Servlet Interview Questions
Servlet  How To WAR servlet programs and how to deploy in weblogic
servlet - Servlet Interview Questions
, the servlet container will load the servlet class and create servlet object when it receives the first request call for that particular servlet. But, by using the load-on-startup in web.xml for a particular servlet will make the servlet
servlet - Servlet Interview Questions
, Service method in called by the servlet container to process a request from the browser. When user calls a servlet, it's service method is executed by servlet container to process the user request. So, service method is called
servlet - Servlet Interview Questions
servlet  how to take a value from user in generic servlet using html form.please give me the code
servlet - Servlet Interview Questions
new qustion is: why we do not need to use main method in a servlet.... For initialization of servlet instances the init method is used. The container initializes the servlet instance by calling the init method of the Servlet
servlet - Servlet Interview Questions
servlet  sir, while performing the servlet programming why we use WEB-INF in capital letters and lib and classes folders are in small leeters
servlet - Servlet Interview Questions
servlet  why servlet has three names ? give an example?  Hi Friend, A Servlet can have three names, 1) file path name-It defines the full path name of the servlet to the server. 2) deployment name-It is a secret
Servlet - Servlet Interview Questions
Servlet example  Servlet Example  Hi friendweb.xml<?xml...;2.4"><servlet> <servlet-name>MultiInstance</servlet-name> <servlet-class>MultipleInstances</servlet-class> <
Servlet - Servlet Interview Questions
Servlet stored procedure  An example of Servlet stored procedure ...-param> <servlet-name>employee</servlet-name> <servlet-class>EmployeeDetail</servlet-class> </servlet> <servlet-mapping>
servlet - Servlet Interview Questions
servlet  How to run servlet programs and tell me the path? I am using windows xp operating system .  Hi Friend, Please visit the following link: http://www.roseindia.net/servlets
Servlet - Servlet Interview Questions
and HttpServletResponse?  Servlet Request 1.public abstract interface ServletRequest... type ServletResponse.setContentType(String); Servlet Response 1)javax.servlet Interface ServletResponse. 2)A servlet
Servlet - Servlet Interview Questions
. 3)It is an abstract class which extends Object. 4)It implements Servlet... to GenericServlet is HttpServlet. 6)It is a protocol-independent servlet. 7)GenericServlet
servlet - Servlet Interview Questions
servlet  The given below is the output of my servlet program plz give me the solution ------------------------------------------------------ ------------------------------------------------------ HTTP Status 405 - HTTP
Servlet - Servlet Interview Questions
can be implemented. They are RequestDispatcher Servlet ServletConfig
servlet - Servlet Interview Questions
servlet  i am using servlets. in that servlet i have an option "logout" button. when ever i press this "logout" button the browser page is closed with options "yes/no". when ever press "yes" window is closed. when ever
servlet - Servlet Interview Questions
Servlet page to refresh the page every 3 mibutes  How can i refresh my Java Servlet page at time interval of three minutes?  Hi,You can use the following attribute on your html(jsp or servlet generated ) page to refresh
Servlet - Servlet Interview Questions
Servlet  how to validate a servlet program using Javascript Or How to validate html using Javascript or Can i link a jsp file that is validated by using javascript to a servlet   Hi Friend, Validate html
xml - Servlet Interview Questions
Java servlet xml request  How to create a java servlet xml request
code - Servlet Interview Questions
code  servlet service method along with an example code  Hi Friend, Servlet service() method: Once the servlet starts getting the requests, the service() method is called by the servlet container to respond
servlets - Servlet Interview Questions
What is Server push in servlet?  What is a server push method in servlet?  Server push means that a server pushes content to the browser... = response.getWriter(); accesses++; out.print("Number of times this servlet
servlets - Servlet Interview Questions
is a interface which helps us to communicate with the servlet container. There is only one... to all the components. Remember that each servlet will have its own ServletConfig... is deployed and after that only the context is available to each servlet in the web
servlets - Servlet Interview Questions
servlets  Hi I have written a servlet by extending GenericServlet. In that I have overriden init() and service()methods. when I execute the servlet only service() is getting executed bu not init(). can any one tell me the reason
servlets - Servlet Interview Questions
servlets  How would you set an error message in the servlet,and send the user back to the JSPpage? Please give java or pseudocode examples
Advertisements
 

 

 

DMCA.com