View Single Post
  #15  
Old 09-13-2007, 12:43 AM
Venkat Venkat is offline
D-Web Master
 
Join Date: Mar 2007
Posts: 347
Venkat is on a distinguished road
Thumbs up Re: Java/J2EE interview Questions

what are different implicit objects of JSP?

pageContext :- The PageContext object.pageScope :- A Map of all the objects that have page scope.requestScope :- A Map of all the objects that have request scope.sessionScope :- A Map of all the objects that have session scope.applicationScope :- A Map of all the objects that have application scope.
param :- A Map of all the form parameters that were passed to your JSP page (for example,the HTML <input name="ourName" type="text"/> is passed to your JSP page as aform parameter).paramValues :- HTML allows for multiple values for a single form parameter. This is aMap of all the parameters, just like param, but in this object the values are an arraycontaining all of the values for a given parameter in the event that there's more than one.header :- A Map of all the request headers.headerValues :- For the same reasons as paramValues, a headerValues object is provided.cookie :- A Map of all the cookies passed to your JSP. The value returned is a Cookieobject.initParam :- A Map that maps context initialization parameter names to their parametervalues.
__________________
Venkat
knowledge is Power
Reply With Quote