June 2012
Intermediate to advanced
386 pages
10h 7m
English
In a Servlet, there are objects available for the programmer but they have to be initialized specifically. For example, to get a session object, the HttpSession's getSession method is invoked in the Servlet. But in a JSP these objects are available by default. They help the content to be dynamic. The objects are named below. Their methods can be accessed directly using the respective objects.
| Object | Description |
|---|---|
| application | This is the context object (javax.servlet.ServletContext). The context is commonly referred to as the application's environment in which the JSP executes. |
| Config | Initialization information for the page's Servlet. (javax.servlet.ServletConfig) |
| Exception | Used along with the error directive ... |
Read now
Unlock full access