What is meant by Servelet? What are the parameters of service
method?

Answers were Sorted based on User's Feedback



What is meant by Servelet? What are the parameters of service method?..

Answer / madhu

servlet is a java program which provides implementation of sevlet interface which is in javax.servlet package directly or indirectly.
parameters of service is HttpServletRequest request,HttpServletResponnse respone.
request and response are objects of classes which provides the implementation of HttpServletRequest,HttpServletResponse.

Is This Answer Correct ?    3 Yes 0 No

What is meant by Servelet? What are the parameters of service method?..

Answer / aruna raman

A servlet is a Java programming language class used to
extend the capabilities of servers that host applications
accessed via a request-response programming model.

Although servlets can respond to any type of request, they
are commonly used to extend the applications hosted by Web
servers. For such applications, Java Servlet technology
defines HTTP-specific servlet classes.

init()
service()
getServletConfig()
getServletInfo()
destroy()

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is a deadlock ?

5 Answers  


Why spring singleton is not thread safe?

0 Answers  


Which containers use a FlowLayout as their default layout?

3 Answers  


Is java 9 released?

0 Answers  


Name two subclasses of the TextComponent class?

2 Answers  






What do you mean by singleton class in java?

0 Answers  


What is early binding and late binding in java?

0 Answers  


What is connection class in java?

0 Answers  


What is constructor and virtual function?

5 Answers  


tell me some common

2 Answers   TCS,


Can we have try block without catch block?

0 Answers  


When should I use abstract classes and when should I use interfaces?

2 Answers  


Categories