Home Discussion Discuss: Difference between GenericServlet and HttpServlet

Post your Comment



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
Java-Tutorials

Difference between GenericServlet and HttpServlet
In this section we will discuss about the difference between GenericServlet and HttpServlet. GenericServlet is an abstract class that extends java.lang.Object while HttpServlet is an abstract class that extends GenericServlet 

Servlet Interview Questions

Related to GenericServlet and HttpServlet
Related to GenericServlet and HttpServlet  Que: Http Servlet extends Generic Servlet then Why both GenericServlet and HttpServlet implements Serializable interface ?   GenericServlet and HttpServlet implement 

Servlet Interview Questions

HttpServlet protocols
HttpServlet protocols   What are the type of protocols supported by HttpServlet?   It extends the GenericServlet base class and provides an framework for handling the HTTP protocol. So, HttpServlet only supports HTTP 

Core Java

Java httpservlet
Java httpservlet       HttpServlet class is an abstract class defined in "javax.servlet.http" package and is sub class of GenericServlet class defined in "javax.servlet 

Servlet Interview Questions

GenericServlet
GenericServlet  What is the GenericServlet class?   GenericServlet makes writing servlets easier. To write a generic servlet, all you need to do is to override the abstract service method 

Servlet Interview Questions

Session with GenericServlet
Session with GenericServlet  Can I create a session with GenericServlet?   There are no protocol-specific features in GenericServlet, which is an implementation of the basic, general purpose Servlet interface. Servlet 

Servlet Interview Questions

Methods of HttpServlet
Methods of HttpServlet  What are methods of HttpServlet 

Servlet Interview Questions

HttpServlet is declared abstract
HttpServlet is declared abstract  Explain why HttpServlet is declared abstract 

Servlet Interview Questions

difference between init() & init(ServletConfig config)?
difference between init() & init(ServletConfig config)?  I want to know the difference between init() and init(ServletConfig config) methods in GenericServlet 

JSP Interview Questions

Difference between JSP and Servlets
Difference between JSP and Servlets  What is the difference between JSP and Servlets ?   JSP is used mainly for presentation only. A JSP can only be HttpServlet that means the only supported protocol in JSP is HTTP 

Servlet Interview Questions

the servlets
between generic servlets and httpservlets   Difference between GenericServlet and HTTPServlet: 1)GenericServlet belongs to javax.servlet package while HttpServlet belongs to javax.servlet.http package. 2)GenericServlet 

XML Questions

HttpServlet reading XML from HttpRequest - XML
HttpServlet reading XML from HttpRequest   Hi , My requirement is 1.Input to the HttpServlet will be the XML sent by upstream as HttpRequest.... HttpServlet should only read the XML from HttpRequest and put it to a string. Can any 

Servlets-Tutorials

Difference Between Servlet and JSP
Difference Between Servlet and JSP In this section we will describe... the differences between Servlet and JSP. Servlet Servlet is a Java class that is usually... extends HttpServlet{ public void doGet(HttpServletRequest request 

Servlet Interview Questions

Servlet - Servlet Interview Questions
Servlet  What is the difference between javax.servlet and javax.servlet.http package?  Hi friend, difference between javax.servlet... to GenericServlet is HttpServlet. 6)It is a protocol-independent servlet. 7)GenericServlet 

SQL Question

mysql between dates not between dates
mysql between dates not between dates  I am trying to list the data between dates and not between dates using join method ..but that not working for me 

Servlet Interview Questions

Types of Servlet
;There are two types of servlets, GenericServlet and HttpServlet. GenericServlet defines the generic or protocol independent servlet. HttpServlet is subclass of GenericServlet and provides some http specific functionality linke doGet and doPost 

SQL Question

date between
to select records between 2 dates, I use this query: Select * from table1 Where date_ between #01/01/2010# and #31/12/2010# But it shows me the dates 

JavaScript Questions

difference between SessionState and ViewState
difference between SessionState and ViewState  What is the difference between SessionState and ViewState 

Java Beginners

Differences between HashMap and Hashtable?
Differences between HashMap and Hashtable?  Differences between HashMap and Hashtable 

Java Interview Questions

difference between == and === operators?
difference between == and === operators?  Is (====) operator available in java or not? difference between 

Java Server Faces Questions

Difference between struts and JSF
Difference between struts and JSF  What is the difference between struts and JSF 

Struts Questions

difference between ForwardAction and IncludeAction
difference between ForwardAction and IncludeAction  What is the difference between ForwardAction and IncludeAction 

Struts Questions

Difference between DispatchAction and LookupDispatchAction
Difference between DispatchAction and LookupDispatchAction  What is the Difference between DispatchAction and LookupDispatchAction 

Mobile Applications Questions

Difference between 3d and 4d
Difference between 3d and 4d  what is the difference between 3d and 4d 

Java Beginners

What is the difference between the >> and >>> operators?
What is the difference between the >> and >>> operators?   hi, What is the difference between the >> and >>> operators? Thanks 

Java Server Faces Questions

Different between getRequestParameterMap() and getRequestParameterValuesMap()
Different between getRequestParameterMap() and getRequestParameterValuesMap()  What is the different between getRequestParameterMap() and getRequestParameterValuesMap 

SQL Question

difference between varchar & varchar2?
difference between varchar & varchar2?  What is the difference between varchar & varchar2 

Hibernate Questions

Hibernate Criteria Between Example
Hibernate Criteria Between Example  How to use the Between in the Hibernate Query? Share me good example code. Thanks   Example of Hibernate Criteria Between. Check the tutorial Hibernate Criteria Between. Check 

Java Interview Questions

Difference between Timer and Thread?
Difference between Timer and Thread?  Can anyone tell me about the difference between Timer and Thread, Why we need to have Timer in case we have Thread implimentation startegy in Java 

Java Beginners

Difference between SCJP Exams
Difference between SCJP Exams  What is the differences between SCJP 5 (310 - 055) exam and SCJP 6 (310 - 065) exam??? Thank You In Adv 

DMCA.com