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 |
Is it possible to compare various strings with the help of == operator? What are the risks involved?
Explain importance of inheritance in java?
What is difference between compatible and incompatible changes in serialization?
What is meant by oops concept in java?
What are parent methods and how can you call them?
What is empty string literal in java?
class A{ class B{ } } in which name u save the file,its the program compile?
What is binary search in java?
How to transfer data from an Applet to Servlet ?
Where the CardLayout is used?
Who is founder of java?
What is the difference between DataInputStream and BufferedReader