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 primitive type short?
What is t type java?
What is dynamic dispatch in java?
How many types of operators are there?
In what types of operations an ArithmeticException will be thrown?
what is ejb? what is the importance of ejb?
java program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.
java Api provided try catch finally ,try catch(its ok) but why try finally and exception occured at try then how the flow is?
How to call a Stored Procedure from JDBC?
Does java trim remove newline?
How do you end a program?
What is exception in java?