What is meant by Servelet? What are the parameters of service
method?
Answers were Sorted based on User's Feedback
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 |
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 |
What is Restrictions in hibernate?
Can we extend singleton class in java?
What is the use of default method in interface in java? Explain
Can constructor return value?
Explain how can you debug the Java code?
why string is not taking as primitive datatypes but we r taking it as a class? why explain it?
In a container there are 5 components. I want to display all the component names, how will you do that?
What are the advantages of exception handling in java?
How you can create a radio buttion using Checkbox class?
What is string immutability?
What is a local class in java?
Is oracle java 11 free?