Creating a String : String « JSP « Java Tutorial






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

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

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








23.4.String
23.4.1.Creating a String
23.4.2.Getting String Length
23.4.3.Use for loop to display string array