Servlets are Java classes that extend functionality for handling web requests and responses. They are persistent, platform independent, secure, and extensible. Servlets offer better performance than other options since they are loaded only once by the web server and can handle requests between loads. All servlets must implement the Servlet interface, with most extending GenericServlet or HttpServlet to gain generic or HTTP-specific functionality respectively. The server invokes a servlet's service method each time it handles a request rather than a main method.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
212 views
Features of Servlets
Servlets are Java classes that extend functionality for handling web requests and responses. They are persistent, platform independent, secure, and extensible. Servlets offer better performance than other options since they are loaded only once by the web server and can handle requests between loads. All servlets must implement the Servlet interface, with most extending GenericServlet or HttpServlet to gain generic or HTTP-specific functionality respectively. The server invokes a servlet's service method each time it handles a request rather than a main method.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1
Its extensible-you can inherit all your functionality from the base
classes made available to you
Its simple small, and easy to use. Features of Servlets: Servlets are persistent.Servlet are loaded only by the web server and can maintain services between requests. Servlets are fast. Since servlets only need to be l\loaded once, they offer much better performance over their CI counterparts. Servlets are platform independent. Servlets are extensible !ava is a robust, ob"ect-oriented pro#rammin# lan#ua#e, which easily can be extended to suit your needs. Servlets are secure Servlets are used with a variety of client. Servlets are classes and interfaces from tow pac$a#es,"avax .servlet and "avax.servlet.http.%he "ava.servlet pac$a#e contains classes t support #eneric, protocol-independent servlets.%he classes in the "avax.servelt.http pac$a#e %o and &%%' specific functionality extend these classes (very servlet must implement the "avax.servelt interface.)ost servlets implement it by extendin# one of two classes."avax.servlet.enericServlet or "avax.servlet.http.&ttpServlet.* protocol-independent servlet should subclass eneric-Servlet.while an &ttp servlet should subclass &ttpServlet, which is itself a subclass of eneric-servlet with added &%%'- specific functionality. +nli$e a "ava pro#ram, a servlet does not have a main,- method,Instead the server in the process of handlin# requests invo$e certain methods of a servlet.(ach time the server dispatches a request to a servlet, it invo$es the servelts Service,- method,
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to process the request:
<PRE>
TEXT http://www.scribd.com/titlecleaner?title=Presentation1.ppt HTTP/1.1
User-Agent: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.10.229 Version/11.61
Host: www.scribd.com
Accept-Language: en-US,en;q=0.9
Accept-Encoding: gzip, deflate
Proxy-Authorization: Basic a3VtYXJzYW5kaXA6OTE5OTQwOTgxNXJz
Referer: http://www.scribd.com/upload-document?archive_doc=76043007&metadata=%7B%22page%22%3A%22read%22%2C%22platform%22%3A%22web%22%2C%22action%22%3A%22down