<HTML> <HEAD> <TITLE>Creating a String</TITLE> </HEAD> <BODY> <H1>Creating a String</H1> <% String greeting = "Hello from JSP!"; out.println(greeting); %> </BODY> </HTML>