Creating a Variable : Variables « JSP « Java






Creating a Variable

<HTML>
  <HEAD>
    <TITLE>Creating a Variable</TITLE>
  </HEAD>

  <BODY>
    <H1>Creating a Variable</H1>
    <%
        int days;
        days = 365;
        out.println("Number of days = " + days);
     %>
  </BODY>
</HTML>

           
       








Related examples in the same category

1.Using a Literal