hello i am trying the following code
<%@ page import="java.util.*" %>
<HTML>
<BODY>
<%!
Date theDate = new Date();
Date getDate()
{
System.out.println( "In getDate() method" );
return theDate;
}
%>
Hello! The time is now <%= getDate() %>
</BODY>
</HTML>
its so simple, taken from a tutorial. the question is, why the thing written inside system.out.printlen not being shown?
in java it shows as output what about jsp. where does system.out.println write in jsp?