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
Hello world (First java program)
Creating Hello World JSP Page
How to write hello world by using Multiple Writers in pdf
How to create Applet Hello World?
Developing JSP, Java and Configuration for Hello World Application
Writing First Hello World application in JSP
How to write first example in Ajax?
JavaScript Hello World
How to make first JSP page?
Smarty Hello World Program
How to make first JSP page?
Hello world
JSP Hello World
R Hello World Example
iPhone Hello World in Objective C
Dojo Hello World
jQuery Hello World
How a simple "Hello World" can be displayed using Spring 3.2 MVC?
Hello World Program in TensorFlow
ZF Hello World
Struts 2 Hello World Example
JSP Hello World example using Eclipse IDE and Tomcat web server
Hibernate 4.3 Hello World: Example
Objective C Hello World
Hello world pdf
Android Studio Hello World Tutorial
EJB Hello world example
Struts 2.1.8 Hello World Example

Ads