Simple JSP program example

Ads

 
 

Share on Google+Share on Google+

Java Coder
Simple JSP program example
1 Answer(s)      15 days ago
Posted in : JSP-Interview Questions

Hi,

How to make simple jsp program example? I am beginner in JSP and looking for example for getting started with the simple JSP example program.

Give me simple jsp program example.

Thanks

Ads
View Answers

May 11, 2017 at 12:24 AM


HI,

The very simple JSP program is to display the current date on the JSP page.

Write a simple JSP program and then add following code in the page:

<%= new java.util.Date()%>

Above is simple JSP program which prints current date on the JSP page.

Check tutorial JSP Hello World example using Eclipse IDE and Tomcat web server.

Video tutorial:

Thanks


Ads









Related Tutorials/Questions & Answers:
Simple JSP program example
with the simple JSP example program. Give me simple jsp program example. Thanks   HI, The very simple JSP program is to display the current date on the JSP...Simple JSP program example  Hi, How to make simple jsp program
Simple JSP program
Simple JSP program  create a simple jsp page in which number is to be entered by user in jsp page and submit button clicked.If number entered is greater then 100,then message box "no is greater" elseif less "no is lesser
Advertisements
Simple Program Very Urgent.. - JSP-Servlet
Simple Program Very Urgent..  Respected Sir/Madam, I am R.Ragavendran.. Thanks for your superb reply. I find a simple problem which i have tried my... information. http://www.roseindia.net/jsp/popup-window-using-ajax
simple program
simple program  how to print * like triangle
A Simple program
A Simple program  Hi I have written the following code: class FirstRectangle{ public int rectArea(int l,int b){ int farea = l*b; System.out.println("Required Area::"+farea); return farea
session realtime usage program simple jsp program or servlet ,which understands me importance of session
session realtime usage program simple jsp program or servlet ,which understands... like client state storage scope.,but jsp or servlet realtime simple session related program whether it may be loginpage or anything must simple understanding
simple calculator program in javascript
simple calculator program in javascript  strong textsimple calculator in javascript
Simple Example of Hibernate 4
Simple Example of Hibernate 4  Hi, As a new comer in the Hibernate programming, I want simple program of Hibernate to learn the basic concepts... Simple Example More Tutorials for a beginner: Hibernate Tutorials Home page
simple program question
simple program question  how do i get a java program to take an input from the user and have it terminate by a period and not by pressing enter
simple webdesign program with coding
simple webdesign program with coding  how to design a webpage using html   Please go through the following link: HTML Tutorials
Simple program to combine all html,ajax,java,servlets,jsp,json - Java Beginners
Simple program to combine all html,ajax,java,servlets,jsp,json  Hi, I learned Java,servlets,jsp basics, html, ajax, json and css. I want to do a program which is a combination of all those technology. For that, i planned
Simple Form Controller Example
Example of using Simple Form Controller Page 2 In this page we will see the next steps necessary to run the example code.  Here... it at Example of using Simple Form Controller Step 7: Now we
JSF 2.0 Simple Example
This section contain simple Hello World Example using JSF 2.0.
Simple clarification - JSP-Servlet
Simple clarification  Respected Sir/Madam, Thanks for your immediate response..Sorry for troubling you again and again. So,you told... way to do so with JSP's? Whether it is conceptually right or wrong? Please
WRITE a simple JSP
WRITE a simple JSP  Write a JSP that accepts a string parameter from the browser and simply displays it back in the HTML response   Hi Friend, Try the following code: 1)form.jsp: <html> <form name="form
Hibernate Simple Program Using Java Application with Eclipse
Hibernate Simple Program Using Java Application with Eclipse  How to write Hibernate Simple Program Using Java Application with Eclipse? I wish... is: First Hibernate Example Step by Step in Eclipse Check Hibernate tutorial home
Simple HTML example
Simple HTML example In this section we will give you very simple example of a HTML page. After reading this page you should be able to create simple HTML... pages. Creating Simple HTML page Here is simple example of HTML page that displays
JSF 1.2 Simple Example
This section contains simple example using JSF 1.2. This is a startup tutorial for JSF beginners
Simple Line Canvas Example
Simple Line Canvas Example       This is a simple example of drawing lines using canvas class in J2ME. In this example we are creating three different lines at different
A simple example of log4j
A simple example of log4j       This Example shows you how to create a log in a program. Description of the code: Logger.getLogger
Jsp program
Jsp program  A sample program of jsp using dml quaries
Hibernate 4 Simple Example
Hibernate 4 Simple Example This section contains a simple Hibernate 4 example... in this example. In Hibernate 4, buildSessionFactory( ) is deprecated. This example contains code which you can use in spite of buildSessionFactory
Help me to write this simple java frame program
Help me to write this simple java frame program   I want to write a Java program for.... To create a frame with 4 text fields;name,street,city and pin;with suitable labels. Also add a button "OK". After enter values
Simple Date example
Simple Date example       In this section we have presented a simple Date example... is the example code of SimpleDate.java as follows: SimpleDate.java import
Simple Java class program - Java Beginners
Simple Java class program  Hello, Please help me, Write a simple class that iterates through all the arguments passed in on the command line.... http://www.roseindia.net/java/example/java/util
Hibernate JSP
In this section, you will learn about Hibernate with JSP using simple pagination example
Simple problem to solve - JSP-Servlet
Simple problem to solve  Respected Sir/Madam, I am R.Ragavendran.. Thanks for your kind and timely help for the program I have asked earlier. Its working in a fantastic way. My heartiest solute to Roseindia team
Simple problem to solve - JSP-Servlet
Simple problem to solve  Respected Sir/Madam, I am R.Ragavendran.. Thanks for your kind and timely help for the program I have asked earlier. Its working in a fantastic way. My heartiest solute to Roseindia team
simple bank application - JSP-Servlet
simple bank application  hi i got ur codings...But if we register a new user it is not updating in the database...so plz snd me the database also.... Thank you
Regarding Simple Web service example - WebSevices
Regarding Simple Web service example  hi i am trying to follow the simple web service example in the tutorials and it develops the application in Netbeans IDE using the GlassFish Server . however when i did the same
Simple Date Format Example
Following is a simple date format example made using Format class. We have uses a pattern of special characters to date and time format. In this example... is a simple Date Format Example: import java.text.*; import java.util.*; public