Explain the difference between servletcontext and pagecontext in jsp?



Explain the difference between servletcontext and pagecontext in jsp?..

Answer / Kehari Singh Gautam

ServletContext is a global object that represents the web application as a whole, providing access to application-wide resources such as parameters, listeners, and filters. PageContext, on the other hand, is specific to an individual JSP page and contains information about the current request, response, session, and application context.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

What are stored procedures? How is it useful?

1 Answers  


What is difference between javascript and jsp?

1 Answers  


Explain translation phase.

1 Answers  


How does error handling occur with jstl?

1 Answers  


What is a hidden comment?

1 Answers  


What are scriptlets in jsp?

1 Answers  


What is jsp application?

1 Answers  


What is jsp and servlets?

1 Answers  


Explain the jsp implicit objects?

1 Answers  


Explain jsp action elements or action tags?

1 Answers  


Is there a way to reference the "this" variable within a jsp page?

1 Answers  


What is the use of?

1 Answers  


Categories