Explain implicit objects in jsp?



Explain implicit objects in jsp?..

Answer / Pankaj Kumar Gupta

Implicit objects are predefined objects in JSP that provide access to various contexts, such as the current request, response, application, session, and configurable parameters. Some common implicit objects include request (represents the HTTP request), response (represents the HTTP response), out (a PrintWriter object for sending output), pageContext (provides access to JSP-specific services like forwarding or including other pages), and session (represents the current user's session). Implicit objects can be accessed directly in your JSP code without needing to create instances.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

Give uses of object cloning?

1 Answers  


Mention the advantages of jsp over pure servlets?

1 Answers  


How can I set a cookie and delete a cookie from within a jsp page?

1 Answers  


How to use jsp el to get http method name?

1 Answers  


What is context url?

1 Answers  


Which method cannot be overridden in jsp?

1 Answers  


Can an interface be implemented in the jsp file?

1 Answers  


What happens when a page is statically included in another jsp page?

1 Answers  


How jsp is executed by web server?

1 Answers  


How can we retrieve warnings?

1 Answers  


What is the difference between java servlet and jsp?

1 Answers  


Which categories can be divided jstl tags, give examples.

1 Answers  


Categories