Solution:
<html>The output of the program is as shown in Figure 2.7.
<head>
<title>JSP Example</title>
</head>
<body>
<p>
<LI>The path of this JSP file is: <%=request.getRequestURI()%>
<LI>The Hostname is: <%= request.getRemoteHost() %><br>
</p>
</body>
</html>
0 nhận xét:
Post a Comment