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.
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:
independent requests and generating protocol-independent responses respectively.
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:
Just a fantastic post
ReplyDeletewebsite development
Web development Company
Servlet technology is used to create web application (resides at server side and generates dynamic web page).
ReplyDeleteServlet 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
Life Coaching in Chennai
ReplyDeletePersonality Development Training in Chennai
Thanks for it.
ReplyDeleteWeb Development course in Janakpuri
this is really nice answer.your articles is great.thankyou for shareing this.
ReplyDeleteprofessional-web-design-company
https://www.blogger.com/comment.g?Thanks for your blog!!.
ReplyDeleteJAVA Development Services
HR Pay Roll Software
Hotel Billing Software
Web Design Company
Hospital Management Software
SAP Software Services
I've read your post thank you for sharing this post. It is very informative post. keep sharing waiting for another.
ReplyDelete-Custom Web Design
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.
ReplyDeleteThank you so much for sharing this vital information with us. This is fantastic.Custom Website Development
ReplyDelete
ReplyDeleteI seriously don't have enough words to thank you.
SEO company
This is a fantastic article. Your essay is quite simple to comprehend. Thank you for sharing this informative information with us.
ReplyDeleteCustom Web Development
These classes form the backbone for developing servlets capable of proficiently handling HTTP requests and crafting dynamic responses across web applications. boats for sale abu dhabi
ReplyDeleteThese servlet classes are indeed foundational for web development. Mastering HTTP requests and dynamic responses is essential for any aspiring developer looking to excel in web applications. Cisco distributors in dubai
ReplyDelete