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


Please Help Members By Posting Answers For Below Questions

What are thread safe functions?

514


How is a structure different from array ?

584


Explain the overview of UDP messaging.

735


What are java packages?

586


What is variable and constant explain with example?

532






What are jee technologies?

535


What is equlas() and hashcode() contract in java? Where does it used?

612


Write a program to find maximum and minimum number in array?

553


What is binary search in java?

559


What is a methodologist?

531


Can size_t be negative?

618


What is the difference between sop and work instruction?

484


Tell me about different OOPS concepts.

593


Why is java multithreaded?

542


Does garbage collection occur in permanent generation space in jvm?

611