Creating a String : String « JSP « Java






Creating a String

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

  <BODY>
    <H1>Creating a String</H1>
    <%
        String greeting = "Hello from JSP!";

        out.println(greeting);
     %>
  </BODY>
</HTML>


           
       








Related examples in the same category

1.String array
2.Getting String Length