3.How are the implicit object made available in the jsp file? Where are they defined?

Implicit objects are a set of Java objects that the JSP Container makes available to developers in each page. These objects may be accessed as built-in variables via scripting elements and can also be accessed programmatically by JavaBeans and Servlets.

These objects will be automatically instantiated under specific variable names hence the name implicit.

Object Class or Interface Description
page jsp.HttpJspPage Page’s servlet instance
config ServletConfig Servlet configuration information
pageContext jsp.pageContext Provides access to all the namespaces associated with a JSP page and access to several page attributes
request http.HttpServletRequest Data included with the HTTP Request
response http.HttpServletResponse HTTP Response data, e.g. cookies
out jsp.JspWriter Output stream for page context
session http.HttpSession User specific session data
application ServletContext Data shared by all application pages
Advertisements

2 Responses

  1. this is a pretty good post

  2. Will the use of validation.xml for both client side and serverside validation slow the entire process?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: