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

Is it possible to do method overloading and overriding at a time

3 Answers   L&T,


What is the purpose of the strictfp keyword?

0 Answers  


What is default locale java?

0 Answers  


How does the garbage collector works in java?

0 Answers   Cyient,


What are java packages? What is the significance of packages?

0 Answers  






Name four container classes.

0 Answers  


What is byte data type?

0 Answers  


Differece between class and generic class?

0 Answers   Tech Mahindra,


what is singleton class in java?

0 Answers   Cap Gemini,


Default layout of Dialog object?

1 Answers  


What is the purpose of the main method?

0 Answers  


What is the Dictionary class?

1 Answers  


Categories