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
Describe 2 different ways to concatenate two strings.
What is the purpose of static keyword in java?
What is scope & storage allocation of global and extern variables? Explain with an example
What is finalize method?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
What is the difference between JDK and JVM?
What is qualitative variable?
What is boolean data type in java?
What do you understand by copy constructor in java?
What is the difference between integer parseint and integer valueof?
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
What is the best way to findout the time/memory consuming process?
Can we override private method?
What do you understand by the term polymorphism?
What is floating data type?