Share on Google+Share on Google+

Hello World JSP Page

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 video tutorial of: "Hello World JSP Page Example"

Here is the code of the program:

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

Output of the program:

Download this example.



Posted on: February 6, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Discuss: Hello World JSP Page   View All Comments

Post your Comment

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

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

Anshul Katta
September 4, 2012

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

send me some simple jsp projects
June 25, 2013
how linking html page to the jsp page

i wnt to knw that how can i pass the value of html page to jsp page..