|
Java Source Codes
java sample
<html>
<head><TITLE>DISPLAY THE CURRENT DETAILS</TITLE></head>
<BODY bgcolor="Maroon" text="Green" >
<ul>
<h1>
<LI>currentTime
<%java.util.Date d=new java.util.Date(); %>
<%= d.getHours() %>:<%= d.getMinutes() %>:<%= d.getSeconds() %>
</LI>
<li>yourHostname = <%= request.getRemoteHost()%></li>
</ul>
</h1>
</BODY>
</html>
<<<----- Return to
Java Source
Code Questions Page.
Have a Question ?
post your questions here. It
will be answered as soon as possible.
Check
Java Interview
Questions for more Java Interview Questions with answers
Check
Servlet Interview
Questions for more Servlet Interview Questions with answers
Check
Structs Interview
Questions for more Structs Interview Questions with answers
|