Expr

The value of Pi is: <%= Math.PI %>

A random number between 1 and 100 is: <%= (int)(Math.random()*100)+1 %>

The value of the "p" request paramter is: <%= request.getParameter("p") %>

Today is: <%= new java.text.SimpleDateFormat("EEEE").format(new java.util.Date()) %>

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.