Resources » .NET programming » ASP.NET/Web Applications

GenericServlet Vs HttpServlet In Java


Posted Date:     Category: ASP.NET/Web Applications    
Author: Member Level: Gold    Points: 4



 



GenericServlet and HttpServlet in Java are both two servlet classes. Generic Servlet implements the Servlet interface and HttpServlet extends GenericServlet.

GenericServlet is super class of HttpServlet.

GenericServlet is protocol independent, whereas HttpServlet is protocol dependent.

GenericServlet is used for small data transfer and HttpServlet isd used for huge data transfer.

In GenericServlet we can't use cookies or HttpSession,i.e, session tracking is not possible.

HttpServlet overrides doGet() and doPost() methods. GenericServlet overrides service() method.





Did you like this resource? Share it with your friends and show your love!


Responses to "GenericServlet Vs HttpServlet In Java"

No responses found. Be the first to respond...

Feedbacks      

Post Comment:




  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Next Resource: N Worker Architecture in ASP Dot NET
    Previous Resource: URL Rewriting
    Return to Resources
    Post New Resource
    Category: ASP.NET/Web Applications


    Post resources and earn money!
     
    More Resources
    Popular Tags   Tag posting guidelines   Search Tags  
    GenericServlet Vs HttpServlet  .  
    Active Members
    TodayLast 7 Daysmore...

    Awards & Gifts
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.