Advertisement
sounny

Untitled

Oct 15th, 2018
494
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.35 KB | None | 0 0
  1. <BODY>
  2. <%
  3.    // This scriptlet declares and initializes "date"
  4.    System.out.println( "Evaluating date now" );
  5.    java.util.Date d = new java.util.Date();
  6. %>
  7. <h1>
  8. Today's date is
  9. <%
  10.    out.println( d );
  11.    out.println( "<BR>Your machine's address is " );
  12.     out.println( request.getRemoteHost());
  13. %>
  14. and this jsp page worked!
  15. </h1>
  16. </BODY>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement