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 does the “static” keyword mean? Can you override private or static method in java?
What is nested interface?
Difference between current previous versions of Java?
What are synchronized methods and synchronized statements in java programming?
What is the maximum size of byte array in java?
Is empty in java?
What is string example?
What is the gregoriancalendar class in java programming?
Explain inner classes ?
What is immutable in java?
Why there are some null interface in java? What does it mean?
How many bits are in a sentence?
Differentiate between static and non-static methods in java.
Can we use string in switch case in java?
What is incompatible types in java?