JSP Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 453 Page Views: 

What is the difference between ServletContext and PageContext?



Posted By: Avi Date: 4 November 2010 02:14:57 PM
 Answer:

ServletContext gives the information about the container and PageContext gives the information about the Request


Posted By: avibtech


Date: 4 November 2010 02:14:57 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image RradXt
Related Questions
JSP : How can I implement a thread-safe JSP page?

How can I implement a thread-safe JSP page?

You can make your JSP page thread-safe by having them implement the SingleThreadModel interface. Thi....
Category: JSP Date: 10/30/2009 5:54:43 AM
JSP : What are the life-cycle methods of JSP?

What are the life-cycle methods of JSP?

JSP page is processed into a servlet class which implements the HttpJspPage interface of the javax.s....
Category: JSP Date: 9/17/2009 6:38:31 AM
JSP : What approaches are used for Session Management in JSP ?

What approaches are used for Session Management in JSP ?

Following approches can be used for Session Management in JSP: 1) Cookies: Cookies are small text....
Category: JSP Date: 9/17/2009 6:24:36 AM
JSP : What types of comments are available in the JSP?

What types of comments are available in the JSP?

There are two types of comments are available in JSP: Hidden comments and Output comments. Hidden c....
Category: JSP Date: 9/16/2009 5:27:34 AM
JSP : Is JSP technology extensible?

Is JSP technology extensible?

JSP technology is extensible through the development of custom actions or tags, which are encapsulat....
Category: JSP Date: 9/14/2009 5:36:10 AM