<!--File jsp003.jsp
02/11/00
Illustrates declarations and expressions.

Access http://localhost:8080/jsp003.jsp to run 
this JSP file in the Sun jswdk-1.0.1 reference 
implementation of jsp. 

You must download and install the reference 
implementation first. Then you must place a 
copy of this JSP file in the directory named
webpages in the directory tree where the Sun 
jswdk-1.0.1 reference implementation is 
installed on your disk. 

end comment -->

<html>
  <body>

    <%-- Some JSP declarations follow --%>
    <%! int a = 100, b = 2; %>
    <%! java.util.Date myDate 
      = new java.util.Date(); %>

    <P>Some JSP expressions follow<BR>
    a = <%= a %><BR>
    b = <%= b %><BR>
    a/b = <%= a/b %><BR>
    The date is <%= myDate %>

  </body>
</html>


Figure 3