JSP Page directive and include directive


<!-- JSP Page and include directive and Attributes -->

<html>
<body>

<h2><center>
<%@ page import="java.util.*" %>
<% out.println((new Date()).toLocaleString()); %>
<br/>

<%@ page session="true" %>
<% out.println(session.getCreationTime()); %>
<br/>

<% out.println(request.getRequestURL()); %>
<br/>

<% out.println(session.getLastAccessedTime()); %>
<br/>

<% out.println(session.getMaxInactiveInterval()); %>
</center></h2>

<jsp:directive.include file="JSP1.jsp"/>
<jsp:directive.include file="wel.txt"/>

</body>
</html>

No comments:

Post a Comment

Don't be a silent reader...
Leave your comments...

Anu