answersLogoWhite

0


Best Answer

page

The implicit variable page is of class java.lang.Object and it refers to instance of generated servlet. It is declared as

Object page=this

Consider

<%= page.getServletInfo() %> will give Error

getServletInfo() is not a method of java.lang.Object

<%= ((Servlet)page).getServletInfo() %> is valid

pageContext

pageContext variable is of type javax.servlet.jsp.PageContext. The PageContext class is the abstract class and JSP engine vendor provides its concrete subclass.

·Store reference to implicit objects,

·Provide method to get and set attributes in different scopes.

·Provide convenience methods for transferring request to other resources in web application.

PageContext.forward("other.jsp");

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between page and pageContext in jps?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are some norms for JPS?

norms of jps


When was JPS Tanakh created?

JPS Tanakh was created in 1985.


In what year did Nuveen Quality Preferred Income Fund 2 - JPS - have its IPO?

Nuveen Quality Preferred Income Fund 2 (JPS)had its IPO in 2002.


What is the price of jps cigarettes in Spain?

35 euros for 200


What is the market cap for Nuveen Quality Preferred Income Fund 2 JPS?

As of July 2014, the market cap for Nuveen Quality Preferred Income Fund 2 (JPS) is $1,093,168,558.04.


What is the salary of a municipal police in Jamaica?

Jamaican JPs are volunteers. They are not paid.


What was the historical name for magistrate?

Magistrates are also called Justices of the Peace or simply JPs.


Who is Jessica Paris stokes?

JPS is a singer, and she also plays a few instruments (and apparently she rocks the kazoo).


What is the best free data destruction software?

For me, it is the JPS or Beast. Either of the two, they create a virus that can totally destroy data and other info in a PC. JPS is a program that creates an application, script, or edit it's appearance to be a hoax. In JPS, you can edit, create, or multiply several files. You can select the effect by clicking options and check boxes. In beast, you can create a backdoor and target a PC. These two software is completely dangerous. Use it at your own risks.


Difference between gsm antenna and microwave antenna?

In GSM mainly using Panel type antennas but in the case of Microwave Antenna using Horn antennas. Microwave anteenas propogate signal straghtly. So line of sight (LOS) is main issue in the case of Microwave antenna, it means that both antennas must be allign in face to face. Microwave antennas are using for link between BTS but GSM antennas are directly link with customers. Antenna Gain also very much difference both cases. JPS o,[.[;.;[.]/]/ pppppppppppppppp


What is the full form of JP?

In most countries the letters J.P. means that the person is a Justice of the Peace. These are the people who can wittness signatures on legal documents. Different countries have different work requirements for JPs. Some arrested persons may be called before a JP as part of the trial process. In some countries JPs have limited Legal Training.


How many threes in 36?

Well most people would say 12 however using JPs Factorial we can work out that there are actually 19.