Return to Snippet

Revision: 23454
at February 8, 2010 05:22 by mattstopa


Updated Code
<% out.println(new java.util.Date()); %> // Scriptlet Syntax


<%= new java.util.Date() %>  // Expression element syntax

// Declaration element syntax
// Purpose is to initialize variables and methods and make them available to other       Declarations, Scriptlets, and Expressions
<%! public java.util.Date PrintDate()
    {
      return(new java.util.Date());
    }
%>

Revision: 23453
at February 8, 2010 05:22 by mattstopa


Updated Code
<% out.println(new java.util.Date()); %> // Scriptlet Syntax


<%= new java.util.Date() %>  // Expression element syntax

// Declaration element syntax
// Purpose is to initialize variables and methods and make them available to other            // Declarations, Scriptlets, and Expressions
<%! public java.util.Date PrintDate()
    {
      return(new java.util.Date());
    }
%>

Revision: 23452
at February 8, 2010 05:18 by mattstopa


Initial Code
<% out.println(new java.util.Date()); %>

Initial URL

                                

Initial Description

                                

Initial Title
JSP Basics - calling Java inside of JSP's

Initial Tags

                                

Initial Language
Java