91-9990449935 0120-4256464 |
JSP Implicit ObjectsThere are 9 jsp implicit objects. These objects are created by the web container that are available to all the jsp pages. The available implicit objects are out, request, config, session, application etc. A list of the 9 implicit objects is given below:
1) JSP out implicit objectFor writing any data to the buffer, JSP provides an implicit object named out. It is the object of JspWriter. In case of servlet you need to write: But in JSP, you don't need to write this code. Example of out implicit objectIn this example we are simply displaying date and time. index.jspOutputUpcoming topics in JSP implicit ObjectsExample of Request implicit ObjectExample of Response implicit Object Example of config implicit object Example of application implicit object Example of session implicit object Example of pageContext implicit object Example of page implicit object Example of exception implicit object
Next TopicJsp Request Implicit Object
|