Core Java| JSP| Servlets| XML| EJB| JEE5| Web Services| J2ME| Glossary| Questions?

 

 

 

 

 

 

 

 

 

 

 

 

 

Search Tutorials:
 

Software Solutions and Services
 

 
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments
 
Introduction to JSP 
 

Introduction to JSP Introduction to JSP Java Server Pages or JSP for short is Sun's solution for developing dynamic web sites. JSP provide excellent server side scripting support for creating database driven web applications. JSP enable the

 

JSP Tutorials - Writing First JSP

                         

Java Server Pages or JSP for short is Sun's solution for developing dynamic web sites. JSP provide excellent server side scripting support for creating database driven web applications. JSP enable the developers to directly insert java code into jsp file, this makes the development process very simple and its maintenance also becomes very easy.  JSP pages are efficient, it loads into the web servers memory  on receiving the request very first time and the subsequent calls are served within a very short period of time. 

    In today's environment most web sites servers dynamic pages based on user request. Database is very convenient way to store the data of users and other things. JDBC provide excellent database connectivity in heterogeneous database environment. Using JSP and JDBC its very easy to develop database driven web application. 

   Java is known for its characteristic of "write once, run anywhere." JSP pages are platform independent. Your port your .jsp pages to any platform.     

Installing JSP

First of all download JavaServer Web Development Kit (JSWDK1.0.1) from http://java.sun.com/products/servlet/download.html. JSWDK comes with full documentation and it's very easy to install, so the installation process is not mentioned here. The JSWDK is the official reference implementation of the servlet 2.1 and JSP 1.0 specifications. It is used as a small stand-alone server for testing servlets and JSP pages before they are deployed to a full Web server that supports these technologies. It is free and reliable, but takes quite a bit of effort to install and configure.

Other Servers that support JSP

  • Apache Tomcat.
    Tomcat is the official reference implementation of the servlet 2.2 and JSP 1.1 specifications. It can be used as a small stand-alone server for testing servlets and JSP pages, or can be integrated into the Apache Web server. 
  • Allaire JRun.
    JRun is a servlet and JSP engine that can be plugged into Netscape Enterprise or FastTrack servers, IIS, Microsoft Personal Web Server, older versions of Apache, O’Reilly’s WebSite, or StarNine WebSTAR.
  • New Atlanta’s ServletExec.
    ServletExec is a fast servlet and JSP engine that can be plugged into most popular Web servers for Solaris, Windows, MacOS, HP-UX and Linux. You can download and use it for free, but many of the advanced features and administration utilities are disabled until you purchase a license.
  • Gefion's LiteWebServer (LWS). LWS is a small free Web server that supports servlets version 2.2 and JSP 1.1.
  • GNU JSP. free, open source engine that can be installed on apache web server.
  • PolyJSP. PolyJsp is based on XML/XSL and has been designed to be extensible. Now supports WebL  
  • JRUN. Available for IIS server.
  • WebSphere. IBM's WebSphere very large application server now implements JSP.

 

Developing first JSP

Java Server Pages are save with .jsp extension. Following code which generates a simple html page.   

Execute the example. <html>
<head>
<title>
First JSP page.</title>
</head>
<body>
<p align=
"center"><font color="#FF0000" size="6"><%="Java Developers Paradise"%></font></p>
<p align=
"center"><font color="#800000" size="6"><%="Hello JSP"%> </font></p>
</body>
</html>
   
    In jsp java codes are written between '<%' and '%>' tags. So it takes the following form : <%= Some Expression %> In this example we have use 
          <%="Java Developers Paradise"%>

                         

» View all related tutorials
Related Tags: java c string jsp ide class strings script object io objects method get char ip using sequence id declaration length

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

82 comments so far (
post your own) View All Comments Latest 10 Comments:

this a good tutorial site.
it very helpful for a java programmer.

Posted by prabhat on Friday, 07.10.09 @ 18:42pm | #89225

I would like to develop an eshopping application with jsp and test a recommandation system with agglomerative hierarchical clustering

Posted by winzaw latt on Friday, 12.19.08 @ 01:11am | #82953

Please make the complete JSP tutorial downloadable so that it is available to read when offline.

Thanks and regards,
Rashmi Ramesh

Posted by Rashmi on Sunday, 12.7.08 @ 06:14am | #82480

why we r used symbols

Posted by kondanna.B on Wednesday, 12.3.08 @ 23:58pm | #82350

Please give me the complete JSP tutorial on how to code a JSP program. Thanks.

Posted by Rugved on Friday, 11.14.08 @ 07:09am | #81676

mail to my id regarding your specifiactions.

Posted by vinod kumar reddy on Tuesday, 10.7.08 @ 08:33am | #80932


This site has all j2EE concept very simple manner

Posted by Saravanan on Saturday, 10.4.08 @ 03:29am | #80879

can anyone tell me how to go about programming in JSP

Posted by swetha. on Friday, 09.26.08 @ 14:53pm | #80719

good site!
please send me the detail notes on introduction to jsp progammong language

Posted by meseret on Friday, 09.19.08 @ 00:10am | #80375

Great tutorial, this is one of the best tutorial on the net for JSP.

Posted by Java Tutorials on Tuesday, 09.9.08 @ 01:35am | #78104

Training Courses
Tell A Friend
Your Friend Name
Website Designing Services
 
Web Designing Packages From $150!
 
Website Designing Company Web Hosting
 
Website Designing Quotation
 
Search Tutorials:

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Flex Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.