Jsp First program

Prev Tutorial Next Tutorial

Jsp First program

Here i will give you a simple jsp example. First you write your first jsp code on any editor and save with .jsp extension like below;

Save and Compile jsp program

JSP program must be save with the .jsp extension. And for compile jsp code simply follow step of compilation servlet code.


<% out.print("Hello word"); %>  


Hello word

How to run jsp program

After write your jsp code, deploy jsp program in your root directory and start server. Follow below steps to run jsp code.

  • Deploy jsp code in root directory
  • Start Server
  • Visit on browser or give request with url like below





Prev Tutorial Next Tutorial

Google Advertisements
Download Projects

Google Adsense Advertisements

Buy 3 Year Old Domain, Tutorialday.com, SeosmoTools.com @$200

Buy This Ad Space @$50 per Month, Ad Size 300X250 Contact on: hitesh.xc@gmail.com WhatsApp no. 8882538826

Yahoo Advertisements