Hello Devs,

In this tutorial, we are going to learn about JSP Config implicit object. In JSP, config is an implicit object of type ServletConfig.

The config object is created by the web container for each jsp page




<!DOCTYPE html>
<title> JSP Config</title>
String name=config.getServletName();
out.print("Name of Servlet is: "+name);

I hope this example helps you.