Home Jsp Hello World JSP Page
Questions:Ask|Latest



Hello World JSP Page
Posted on: February 6, 2008 By Deepak Kumar
By this example we are going to teach you that how can you write a "hello world" on your browser.

Hello World JSP Page

     

By this example we are going to teach you that how can you write a "hello world" on your browser. Jsp can be learned very easily. This is just the beginning to learn this exciting language. This simple page contains a JSP program and it's output on browser in running state. This given program of JSP illustrates you how to print simple "Hello World!" string on the browser through the server side code (provided by JSP).

This program also contains HTML (Hypertext Markup Language) code for designing the page and the contents. Following code of the program prints the string "Hello World!" by using <%="Hello World!" %>  while you can also print the string by using out.println("Hello World!") in the <% and %> JSP tags.

Here is the code of the program:

<html>
	<head><title>Hello World JSP Page.</title></head>
	<body>
		<font size="10"><%="Hello World!" %></font>
	</body>
</html>

Output of the program:

Download this example.


Recommend the tutorial

Ask Questions?    Discuss: Hello World JSP Page   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
Radhika
February 25, 2013
jsp

tel me how to write jsp page for simple login step wise
sss
July 25, 2012
no qns

nothing
Anshul Katta
September 4, 2012
HI

NOT WOKRING"><input type=text>
Christy
November 1, 2012
Request

send me some simple jsp projects