What is Servlet Class Hierarchy

What is Servlet Class Hierarchy?

The Java Servlet class hierarchy is given below. Like all java classes, GenericServlet also inherits from the Object class. Apart from GenericServlet and HttpServlet classes, ServletRequest, HttpServletRequest, ServeltResponse, and HttpServletResponse are also helpful in writing a servlet. As you can guess ServletRequest & ServletResponse are used in conjunction with GenericServlet. These classes are used for processing protocol
independent requests and generating protocol-independent responses respectively.

What is Servlet Class Hierarchy, What is Java Servlet Life Cycle,Stages of java Servlet Lifecycle, what are different java servlet lifecycle stages, what is java servlet,  what is java, java tutorial, java servlet tutorial, java ee tutorials, explain java servlet life cycle, servlet request responce, java web action, java web development, javawebaction, java web applications development


HttpServletRequest & HttpServletRespose are used for processing HTTP protocol-specific requests and generating HTTP-specific responses. Obviously, these classes will be used in conjunction with HttpServet class, which means you are making an HTTP protocol-specific servlet.

Related Topics:
 
What is Java Servlet
What is Java Servlet Life Cycle and how to explain it
What are Java Servlet's different HTTP Request Handling Methods

11 Comments

Please enter relevant questions and information.

  1. Servlet technology is used to create web application (resides at server side and generates dynamic web page).

    Servlet technology is robust and scalable because of java language. Before Servlet, CGI (Common Gateway Interface) scripting language was popular as a server-side programming language. But there was many disadvantages of this technology. We have discussed these disadvantages below.

    There are many interfaces and classes in the servlet API such as Servlet, GenericServlet, HttpServlet, ServletRequest, ServletResponse etc.
    Thanks a lot! You made a new blog entry to answer my question; I really appreciate your time and effort.
    java training institute in chennai |
    java training center in chennai

    ReplyDelete
  2. this is really nice answer.your articles is great.thankyou for shareing this.
    professional-web-design-company

    ReplyDelete
  3. I've read your post thank you for sharing this post. It is very informative post. keep sharing waiting for another.
    -Custom Web Design

    ReplyDelete
  4. There are many articles circulating on internet that exaggerate about Custom Build Website. But your article is an exception that made me understand it without any difficulty.

    ReplyDelete
  5. Thank you so much for sharing this vital information with us. This is fantastic.Custom Website Development

    ReplyDelete

  6. I seriously don't have enough words to thank you.
    SEO company

    ReplyDelete
  7. This is a fantastic article. Your essay is quite simple to comprehend. Thank you for sharing this informative information with us.
    Custom Web Development

    ReplyDelete
Previous Post Next Post