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 the difference between class & structure?
what is overloading and overriding with example?
if a java file without any source code is valid java file?
Is heap stored in ram?
what are the design patterns in struts?
Can two objects have same hashcode?
What class of exceptions are generated by the java run-time system?
What is t in parametric equations?
What is the disadvantage of java?
What is the use of predicate in java 8?
What is a buffer in computer?
What are the steps to do connection pooling in weblogic?