What are implicit objects?

Answers were Sorted based on User's Feedback



What are implicit objects?..

Answer / janet

To simplify code in JSP expressions and scriptlets, we can
use eight automatically defined variables, called implicit
objects.
They are
request,response,out,session,application,config,pageContext
and page.

Is This Answer Correct ?    40 Yes 10 No

What are implicit objects?..

Answer / vipin

one more implicit object availbale in JSP: exception

Is This Answer Correct ?    23 Yes 6 No

What are implicit objects?..

Answer / siva kumar

implicit objects are objects which can be used in jsp
without declaring those objects.For Ex we are using 'out'
implicit object without declaring it,but internally it is
declared in a servlet which is created for jsp. Totally we
hav 10 implicit objects.we can use these implicit objects in
either scriptlets or expressions only.if we want to use
implcit objects in declarations we need to pass explicitily.

Is This Answer Correct ?    20 Yes 6 No

What are implicit objects?..

Answer / ganesh

Implicit object means with out any declaration we able to
use those variables in jsp tags except in jsp declaration
tags.In jsp's total 9 implicit objects are available.Those
are,
1>out
2>request
3>response
4>application
5>session
6>pageContext
7>page
8>exception
9>config

Is This Answer Correct ?    15 Yes 1 No

What are implicit objects?..

Answer / java

There are Eight different types they are.......
request,
response,
out,
session,
application,
config,
pageContext,
page.

Is This Answer Correct ?    22 Yes 11 No

What are implicit objects?..

Answer / anil nivargi

Please go through this blog
http://adnjavainterview.blogspot.in/2014/07/what-are-implicit-objects-in-jsp.html
explained clearly..

Is This Answer Correct ?    1 Yes 0 No

What are implicit objects?..

Answer / lakshya mathur

JSP Implicit Objects are the Java objects that the JSP Container makes available to developers in each page and developer can call them directly without being explicitly declared. JSP Implicit Objects are also called pre-defined variables.

JSP supports nine Implicit Objects which are listed below:

Object Description
request This is the HttpServletRequest object associated with the request.
response This is the HttpServletResponse object associated with the response to the client.
out This is the PrintWriter object used to send output to the client.
session This is the HttpSession object associated with the request.
application This is the ServletContext object associated with application context.
config This is the ServletConfig object associated with the page.
pageContext This encapsulates use of server-specific features like higher performance JspWriters.
page This is simply a synonym for this, and is used to call the methods defined by the translated servlet class.
Exception The Exception object allows the exception data to be accessed by designated JSP.

Is This Answer Correct ?    0 Yes 0 No

What are implicit objects?..

Answer / shrinath rodage

The following are the implicit objects for jsp:

request //used for accept the request of client
response // used for respond to the client
application //used overall our application
session //used maintain the session
out // for display the output
page

Is This Answer Correct ?    2 Yes 4 No

What are implicit objects?..

Answer / asd

implicit objects in python

Is This Answer Correct ?    2 Yes 10 No

Post New Answer

More JSP Interview Questions

What is jsessionid?

0 Answers  


What is jsp taglib?

0 Answers  


What is jsp processing?

0 Answers  


What is welcome file list?

0 Answers  


Can you make use of a servletoutputstream object from within a jsp page?

0 Answers  






Java Server Page I can use a function in two ways: Either I declare <jsp:useBean id="myBean" scope="session" class="mypack.mysubpack.MyClass" /> or I declare <%@ page import = "mypack.mysubpack.MyClass" %> In each case I can call a function later by coding MyClass.myFunction(); So what is the difference between the two variantes? Why are Beans invented if we don't need them because we have the import statement ? please guide me its an humble request to you reader if u know n i'll be thankful to you...........

0 Answers  


mention the three important tags used in the development of jsp bean.

0 Answers  


What is a tag file in jsp?

0 Answers  


Can we use jstl in html?

0 Answers  


Is jsp page extensible true false?

0 Answers  


Why do we need custom tags?

0 Answers  


Why don’t we need to configure jsp standard tags in web.xml?

0 Answers  


Categories