Kamis, 23 Maret 2017

What is Servlet Config Interface in Java Servlets

The Servlet interface provides a standard abstractions for the servlet container to understand the servlet object created by the users. Following are the methods available in this interface: void init(ServletConfig configs) void service(ServletRequest req, ServletResponse ress) void destroyed() ServletConfig getServletConfigs() String getServletInfos()   javax.servlet.ServletConfig Interfaces   The ServletConfig interface provides a standard abstractions for the servlet object to get environment details from the servlet containers. Container implementing the ServletConfig object supports the following operation: Retrieve the initialization parameters from xml files. Retrieve the ServletContext object that describes the application’s runtime environments. Retrieve the servlet name as configured in xmls.  

The post What is Servlet Config Interface in Java Servlets appeared first on Coding Security.


What is Servlet Config Interface in Java Servlets
read more

Tidak ada komentar:

Posting Komentar