What is Servlet?

Answers were Sorted based on User's Feedback



What is Servlet?..

Answer / tamilvanan

Servlet:
simply say,Servlet is a serverside java code ... it is
mainly used to write business logic
there are two types of servlet


1.Generic Servlet
2.HttpServlet

Is This Answer Correct ?    3 Yes 0 No

What is Servlet?..

Answer / ajay dhingra

Servlet is server side web application component written in
java which is used to handle client side request.

there are two type of servlet

1. Generic Servlet : extends javax.servlet.
2. HttpServlet : extends javax.Servlet.HttpServlet.

Is This Answer Correct ?    2 Yes 0 No

What is Servlet?..

Answer / praveen

servlet is the controller of the mvc pattern it is an java
class that extends javax.servlet .through which the user
should be taken to a new page .

Is This Answer Correct ?    1 Yes 0 No

What is Servlet?..

Answer / nandam mohan

Servlet is a java program which is running in web server.

A class that implements javax.servlet interface is cslled a
sevlet.It alloes is to develop a web application.

Is This Answer Correct ?    1 Yes 0 No

What is Servlet?..

Answer / sunil

servlets r used to design the server side applications that
work on clint server architecture

there are two type of servlet

1. Generic Servlet : extends javax.servlet.*
2. HttpServlet : extends javax.Servlet.HttpServlet.*

we should import these two packages

Is This Answer Correct ?    1 Yes 0 No

What is Servlet?..

Answer / javachi

The Java application that runs on server side, it is like server side applet (serv let). which works on client-server architecture.

Is This Answer Correct ?    0 Yes 0 No

What is Servlet?..

Answer / sivakumaran kathamutthu(siva)

Servlet is server side java programming for java web
application which will enrich with business logic where jsp
provides static part of java web application which doesnt
has business logic(if we need we can have bussiness logic
there but its poor archetecture) but use for display view
part of webapplication.

A servelt class can be created in two way
1) extending the GenricServlet
2) HttpServelt

Is This Answer Correct ?    0 Yes 0 No

What is Servlet?..

Answer / raman

A class that implements javax.servlet interface is cslled a
sevlet.It alloes is to develop a web application.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Core Java Interview Questions

Why java is considered as platform independent?

0 Answers  


what is the use of declaring constructor as private?

5 Answers   Cyient, IVY Technologies, Sai Softech, Virtusa,


What is hashmap and map?

0 Answers  


how do I create a runnable with inheritance? : Java thread

0 Answers  


Which package has light weight components in java programming?

0 Answers  






adapter class ?

2 Answers  


State two differences between C and Java.

0 Answers   Syntel, Visa,


what's diff between struts 1.1 & 1.2

3 Answers   Wipro,


How do you declare an array that will hold more than 64KB of data?

0 Answers   Aspire, Infogain,


We have two methods to create methods the threads. 1. Implementing runnable interface 2. Extending to thread class and overriding run method. Among these two which one is better and why? Please explain me in detail.

2 Answers  


why did you choose your career in IT?

1 Answers   LIC,


What is java beans?

0 Answers  


Categories