What is use of implict Objects?why the container is given those one?

Showing Answers 1 - 4 of 4 Answers

Mannu Kumar Pandey

  • Nov 3rd, 2005
 

implicit object are object in jsp that can be called directly like page,request,response etc.They are used for different-2 purpose like taking request from client, making response, accessing variables etc.

  Was this answer useful?  Yes

Tharani

  • Nov 3rd, 2005
 

In JSP, there is no need to create object explicitly to get the request ,to post the response  and to display the result.Objects like request,response,page and out are created by the JSP Engine implicitly.It reduces the coding and also saves memory.

  Was this answer useful?  Yes

Amit Kumar

  • Dec 22nd, 2005
 

Implicit object is a predefine object which is provide by jsp engine.  Is machinegun is easy for processing all basic work.

  Was this answer useful?  Yes

All the implicit objects are created by the JSP Engine. Infact, every jsp is converted to a servlet by the JSP compiler. All the implicit objects are declared in the _jspService() method of the servlet. All the code u write in the scriptlets of a jsp can access the implicit objects, since the code in the scriptlet is placed inside the  _jspService(). Note that u cannot access the implicit objects in jsp declaritves.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions