Practical 8
Aim: Develop a simple JSP application to display values obtained from the
use of Intrinsic objects of various types.
Code:
[Link]
<%--
Document : index
Created on : Feb 14, 2024, [Link] PM
Author : Machine014
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-
8">
<title>JSP Page</title>
</head>
<body>
<h1>Use of Intrinsic Objects in JSP</h1>
<h1> Request Object</h1>
Query String<%=[Link]()%><br>
Context Path<%=[Link]()%><br>
Remote Host<%=[Link]()%><br>
<h1> Respond Object</h1>
Character Encoding Type <%=[Link]()
%><br>
Content Type<%=[Link]()%><br>
Locale<%=[Link]()%><br>
<h1> Session Object</h1>
ID <%=[Link]()%><br>
creation Time <%=new [Link]([Link]())
%><br>
Last Access Time <%=new
[Link]([Link]())%><br>
</body>
</html>
Output: