This post originated from an RSS feed registered with Java Buzz
by instanceof java.
Original Post: Java 9 JSP Implicit Objects
Feed Title: Instance Of Java
Feed URL: http://feeds.feedburner.com/blogspot/TXghwE
Feed Description: Instance of Java. A place where you can learn java in simple way each and every topic covered with many points and sample programs.
Implicit objects in jsp are the objects that are created by the container automatically and the container makes all these 9 implicit objects to the developer.
We do not need to create them explicitly, since these objects are created and automatically by container and are accessed using standard variables(objects) are called implicit objects.
The following are of implicit variables available in the JSP.
servletConfig is an object used by servlet container to pass the information during initialization.
Once if we get the ServletConfig object, we can find the name of the servlet which is configured in web.xml file by using a method getServletName() method.