top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are JSP implicit objects?

0 votes
277 views
What are JSP implicit objects?
posted Aug 17, 2017 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

JSP implicit objects are created by container while translating JSP page to Servlet source to help developers. We can use these objects directly in scriptlets that goes in service method, however we can’t use them in JSP declaration because that code will go at class level.

We have 9 implicit objects that we can directly use in JSP page. Seven of them are declared as local variable at the start of _jspService() method whereas two of them are part of _jspService() method argument that we can use.

out Object
request Object
response Object
config Object
application Object
session Object
pageContext Object
page Object
exception Object

answer Aug 18, 2017 by Neeraj Kumar
...