|
INTERVIEW QUESTIONS
J2EE
DETAILS
Question: What is the function of all 9 implicit objects(application ,session,request,response,out,page, pageContext,config,exception)?
Answer: the main function of implicit objects are to simply sniplets of java code in jsp we are using pre-defined variables..these variables are implicit variables
|
|
|
Category |
J2EE Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 7757 users |
Added on |
8/15/2013 |
Views |
68287 |
Rate it! |
|
|
Question:
What is the function of all 9 implicit objects(application ,session,request,response,out,page, pageContext,config,exception)?
Answer:
the main function of implicit objects are to simply sniplets of java code in jsp we are using pre-defined variables..these variables are implicit variables Source: CoolInterview.com
Answered by: Ramesh | Date: 9/10/2008
| Contact Ramesh
we can use these implicit objects without declaring in a jsp page.Internally these variables are declared in the _Jspservice method of the servlet that is generated by the jsp compiler. Source: CoolInterview.com
Answered by: lavanyakodidasu | Date: 5/12/2009
| Contact lavanyakodidasu
Function of the 9 implicit objects : 1. application interface (javax.servlet.ServletContext) Refers to the web application's enviornment 2. session interface ((javax.servlet.http.HttpSession) Refers to the User's session 3. request interface ((javax.servlet.http.HttpServlet.Request) Refers to the current request page 4. response interface ((javax.servlet.http.HttpServlet.Response) Refers to the current response to the client 5. out Class (javax.servlet.jsp.JspWriter) Refers to the output stream for http page 6. page Class (java.lang.Object) Refers to the page's servlet instance 7. pageContext Class (javax.servlet.jsp.PageContext) Refers to the page's enviornment 8. config Interface (javax.servlet.ServletConfig) Refers to the servlet's configuration 9. exception Class (java.lang.Throwable) Used for error handling Source: CoolInterview.com
Answered by: Arshy | Date: 8/6/2009
| Contact Arshy
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
what is IOC in springs?
|
View Answer
|
|
is that goto keyword in java?
|
View Answer
|
|
How to Create Object without using the keyword "new" in java?
|
View Answer
|
|
Can we write any static block or any static method in jsp program?
|
View Answer
|
|
Why java have no pointer?
|
View Answer
|
|
What is Ant tool and use of this tool?
How to configure this tool with servlet by using eclipse3.1?
What is plug-in and use of the plug-in? and also how to configure with struts application by using Eclipse 3.1 Ide.
|
View Answer
|
|
All the method in interface to be implemented in derived class.Suppose The particular interface is used 1000 of classes,we need some changes to the method in interface,what to be done?
|
View Answer
|
|
What is Connection Pooling mechanism?
|
View Answer
|
|
Connection is an interface.But how we can able to make the object of Connection interface i.e- Connection con=DriverManager.getConnection(); Can you write a program as the above statement.
|
View Answer
|
|
Define Hash table?
|
View Answer
|
|
How can call the Session bean in to the Action class in struts?
|
View Answer
|
|
what is J2EE and what are the features of it?
|
View Answer
|
|
How can we done caching of servlet? How can we log out from a page? What is the difference between JspWriter & PrintWriter?
|
View Answer
|
|
What is the difference between application server & web server ?
|
View Answer
|
|
What is the difference and advantage of j2ee over java?
|
View Answer
|
|
how do we deploy an jsp application in tomcat?
|
View Answer
|
|
Can we write the code in the applet?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All J2EE Interview Questions & Answers - Exam Mode /
Learning Mode
|