| Author |
Is PageContext Works Same As Servlet Context
|
vijay saraf
Ranch Hand
Joined: Jan 08, 2005
Posts: 141
|
|
Hello All, I just wanted to know that meaning of "PageContext" objext.is this object plays same role as "ServletContext".......or it is any thing else? Thanks, Vijay Saraf.
|
Thanks
Vijay Saraf.
|
 |
Mouly Kumaraswamy
Greenhorn
Joined: Apr 17, 2006
Posts: 23
|
|
PageContext is a subclass of JSP Context. It is used to get/store attributes from all scopes, get handle to the writer, and few other functions. One ServletContext is defined for one web application per JVM. It is primarily used to hold application level attributes.
|
SCJP 1.4 SCWD 1.4
|
 |
Eideo Guo
Greenhorn
Joined: Aug 16, 2005
Posts: 29
|
|
|
the lifecycle was difference
|
 |
vijay saraf
Ranch Hand
Joined: Jan 08, 2005
Posts: 141
|
|
Thanks Mr. Kumaraswamy. i was confused only because PageContext is extending JspContext,so i thought that it will be similar to ServletContext. Thanks, Vijay Saraf.
|
 |
 |
|
|
subject: Is PageContext Works Same As Servlet Context
|
|
|