html « Date « JSP-Servlet Q&A

1. HTML/JSP Doubt, Print date on webpage

I made a function which displays date on the webpage,, and i uploaded the same onto some server... But when i changed the date of my system, i noticed that the date ...

2. Fetch date only in JSP

I have tried one program which displays the full date format in JSP.

<%@page contentType="text/html" import="java.util.*" %>

<div align="center">
<table border="0" cellpadding="0" cellspacing
="0" width="460" bgcolor="#EEFFCA">

<td width="100%"><font size="6" color
="#008000">&nbsp;Date Example</font></td>

<td width="100%"><b>&nbsp;Current Date 
and time is:&nbsp; ...