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

When you declare a method as abstract method ?

2 Answers   HP,


What best practices should you follow while writing multithreaded code in java?

0 Answers  


What classes of exceptions, caught by a catch clause?

1 Answers  


Can we have two methods in a class with the same name?

0 Answers  


What are the types of java?

0 Answers  






can any one tell me when do u go for inheritance and polymorphism

3 Answers  


How is a variable stored in memory?

0 Answers  


Difference between comparator and comparable in java?

0 Answers  


What does math floor () do?

0 Answers  


What is the purpose of the wait(), notify(), and notifyall() methods in java programming?

0 Answers  


How do you input a string in java?

0 Answers  


What is the difference between class & structure?

0 Answers  


Categories