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
How many types of exception can occur in a java program?
Describe the term diamond problem.
What is the difference between assignment and initialization?
what is the purpose of using rmisecuritymanager in rmi?
What is hashset in java?
Is 64bit faster than 32 bit?
What is the purpose of using javap?
What is a method vs function?
Which collection is sorted in java?
What is the difference between a break statement and a continue statement?
How to do a true java ping from windows?
Is multiple inheritance supported by java?
What is an example of procedure?
What is nextline method in java?
How many bytes is a string?