What is the use of Servlets?
Answers were Sorted based on User's Feedback
Answer / abhijitbaji
servlets are the server side component.
it act as a controller.
it is used for request delegation too.
Is This Answer Correct ? | 58 Yes | 4 No |
Answer / shakir khan
servlets can handle multiple requests concurrently and can
syncronize requests.This allows servlet to support systems
such as on line processing.
servlet can forward requests to other servers or servlets.
Thus servlets can be used to balance load among several
servers that mirror the same content and to partition a
single logical service over servers according to task type
or organizational boundaries.
Is This Answer Correct ? | 34 Yes | 8 No |
Answer / suraj
servlet is an Controller. Servlet get the request from
client side and made a response on server side side and
it's sent to client side with http response object.
Is This Answer Correct ? | 23 Yes | 4 No |
Answer / maulik patel
It is a server side program that is responsible to capture
and interpret the clients Request and respond to teh client
with the requested information.
Is This Answer Correct ? | 19 Yes | 7 No |
Answer / priyanka prataprao pawde.
1.A Servlet does not run in a separate process. This removes
the overhead of creating a new process for each request.
2.It is a server side program that is responsible to capture
and interpret the clients Request and respond to the client
with the requested information.
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / ramareddy
A 'Servlet' is a Java programming language class used to
extend the capabilities of a server. Although servlets can
respond to any types of requests, they are commonly used to
extend the applications hosted by web servers, so they can
be thought of as Java Applets that run on servers instead of
in web browsers.
Is This Answer Correct ? | 4 Yes | 0 No |
What are the difference between RMI and Servlets?
What is the type of method for sending request from http server?
Can we use the constructor, instead of init(), to initialize servlet?
Why filter is used in servlet?
What is the difference between servlet and jsp?
How can a servlet be used to generate plain text instead of html?
What are all the protocols supported by httpservlet?
Hi Friends, Can we make any method thread safe withour synchronized keyword?
I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>
What is cgi and what are its drawbacks?
Can we override destroy method in servlet?
Can you send an authentication error from a servlet?