Monday, August 4, 2008

==> Implicit objects in JSP

Implicit objects in JSP :

1. request : The request object represents httprequest that are trigged by service( ) invocation.

2. response:The response object represents the servers response to request.

3. pageContext : The page context specifies the single entry point to many of the page attributes and is the convient place to put shared data.

4. session : the session object represents the session created by the current user.

5. application : the application object represents servlet context , obtained from servlet configaration.

6. out : the out object represents to write the out put stream .

7. Config :the config object represents the servlet config interface from this page,and has scope attribute.

8. page : The object is th eInstance of page implementation servlet class that are processing the current request.

9. exception : These are used for different purposes and actually u no need to create these objects in JSP. JSP container will create these objects automatically.

One can directly use these objects in JSP.

No comments: