News

When you call "super.init (config)" in the init method as shown above, you are actually passing the config object to the constructor of the GenericServlet.
Create a Java servlet by entering the following code into your text editor:public class ExampleServlet extends HttpServlet {} Declare an "init" method within the servlet to override the base "init ...