what is the difference between pagecontext and
servletcontext?
Answer Posted / munesh yadav
PageContext is used to store the attributes as Objects like
key&value pairs in JSP .Its mostly used in Beans concept or
pageContext is used for url requesting .
ServletContext provides runtime environment for all the
servlets in web application.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 ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is static class
What is int lol?
What is the full meaning of java?
How many bits is a float?
Can singleton class be serialized?
Which keyword specify that a variable is effectively final ?
What technique is carried out to find out if a particular string is empty?
Why main method is static in java?
Explain access specifiers?
Explain the importance of join() method in thread class?
How many types of voids are there?
How many inner classes can a class have?
What is the syntax and characteristics of a lambda expression?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
What does it mean to be immutable?