Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training

JSP Hello World

We are going to discus about JSP hello world. In this example we are create "HelloWold" on web browser. In this program of JSP instances. we can print simple "Hello World" String on web browser through the server side program.

Ads

JSP Hello World

We are going to discus about JSP hello world. In this example we are create "HelloWold" on web browser. In this program of JSP instances. we can print simple "Hello World" String on web browser through the server side program.

In JSP example also contents HTML code for designing the page and the contents.

Syntax:

 <%=HelloWorld%>
<% JAVA CODE %>

Example

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Hello Word</title>
</head>

<body>

<font size="20" color="red"><%="HelloWorld" %></font>

</body>
</html>

OutPut

Download Source Code

Advertisements

Share on Google+Share on Google+

JSP Hello World

Posted on: June 26, 2013 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

Ads
 

Discuss: JSP Hello World  

Post your Comment


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

Ads

 

Ads