Servlets Interview Questions
Questions Answers Views Company eMail

What do you mean by session tracking and also explain its techniques?

484

What do you mean by request dispatcher in servlet? Also explain its methods.

601

What are the types of an http request?

568

How to upload a file to the server using servlet?

526

What is the directory structure of web application?

516

How can you start a jta transaction from a servlet deployed on jboss?

660

What if you need to span your transaction across multiple servlet invocations?

566

What is a cookie What is the difference between session and cookie

586

What is the difference between genericservlet and httpservlet

574

What is a server side include (ssi)

556

How do you find out what client machine is making a request to your servlet

520

What is meant by a web application

531

Which protocol will be used by browser and servlet to communicate

570

Explain the architechure of a servlet?

594

What is url encoding and url decoding

576


Post New Servlets Questions

Un-Answered Questions { Servlets }

What is the importance of init() method in Servlet ?

584


Define servlet mapping?

648


Which httpsession object is used to view and manipulate information about a session?

716


What is the difference between the include() and forward() methods?

557


What are the differences between forward() method and sendredirect() methods?

535






Which java framework is most popular?

568


When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?

564


What is the difference between Difference between doGet() and doPost()?

748


Explain the differences between jsp and servlet.

530


Explain is servlet mapping?

570


What is the process for chaining servlet?

596


Write a program to show the functionality of doget and dopost method?

640


Given the request path below, which are context path, servlet path and path info?

533


What do you mean by request dispatcher in servlet? Also explain its methods.

601


Why do we have servlet filters?

590