How to write first JSP Hello World example?

Ads
 

How to write first JSP Hello World example?

Hi,

How to make first simple JSP program which prints simple Hello World example? I want to learn to make fist JSP page which prints the Hello World example.

Thanks

View Answers

May 10, 2017 at 10:51 PM

Hi,

For making a simple JSP page you will have to make first helloworld.jsp.

In the helloworld.jsp file add following code:

<%="Hello World"%>

Above code will prints "Hello World" message on the JSP page.

You will have to deploy on the tomcat and run it on the Tomcat server.

Check complete code at JSP Hello World.

Thanks

Ads









Related Tutorials/Questions & Answers:
How to write first JSP Hello World example?
How to write hello world example program in Hibernate?
Advertisements
Hello World JSP Page
Creating Hello World JSP Page
Hello world (First java program)
How to write hello world by using Multiple Writers in pdf
How to create Applet Hello World?
Python Hello World Example
Python Hello World Example
How to make first JSP page?
How to make first JSP page?
How to create Bootstrap Hello World program
How to create Bootstrap Hello World program
JSP Hello World
How to write first example in Ajax?
Hello world
R Hello World Example
PySpark Hello World
PySpark Hello World
JSP Hello World example using Eclipse IDE and Tomcat web server
Dojo Hello World
Hello World Program in TensorFlow
Hello World Program in TensorFlow
Hello World Program in TensorFlow
Hello World Program in TensorFlow
jQuery Hello World
How a simple "Hello World" can be displayed using Spring 3.2 MVC?
How to write jsp/servlet code to integrate LINKDIN?
How to make my first JSP page?
TensorFlow 2.0 Hello World
TensorFlow 2.0 Hello World

Ads