Home Jsp Hello World JSP Page



Hello World JSP Page
Posted on: February 6, 2008 at 12:00 AM
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.

Related Tags for Hello World JSP Page:
cstringjspidebrowserserverlanguageprintoutputpagevistateintthisidaisimplerowjsrowsprogramtolearnramwsecontainsrunldcilanwseareilitcanputimbrowseinasstamntouttrsidsidecajesthroughrunningagehowhrprorateratessspginatishellollivmpleaandarstatbeginningcodcodestrrvsimssriringthbeginsthellopleplprndodeonogro


More Tutorials from this section

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

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.