what is the difference between pagecontext and
servletcontext?
Answer Posted / ram
A PageContext instance provides access to all the
namespaces associated with a JSP page, provides access to
several page attributes, as well as a layer above the
implementation details.
The ServletContext gives information about the container in
which the servlet (or JSP) is running in. Parameters for
this can be setup in the web application deployment
descriptor and there is one ServletContext per web
application.
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
What are conditionals and its types?
Is array primitive data type in java?
Is int a class in java?
What are wrapper classes in java?
What is use of static method?
Why generics are used in java?
What is the internal implementation of set in java?
What are the legal operands of the instanceof operator?
Can a main method be declared final?
Explain the access modifiers for a class, method and variables?
What is length in java?
What 4 doubled?
what is instanceof operator used in java?
How to make a read-only class in java?
Convert Binary tree to linked list.