Advertisement
Shailrshah

Date and Time with JSP

Apr 15th, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.19 KB | None | 0 0
  1. <%@ page language="java" contentType="text/html"%>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <title>Date and Time</title>
  6. </head>
  7. <body>
  8.     It is  <%= new java.util.Date().toString() %>
  9. </body>
  10. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement