Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Introduction to JavaServer Pages

Noel J. Bergman's background in object-oriented programming spans more than 20 years. He participated in the original CORBA and Common Object Services task forces, and consistently receives high marks as a favored speaker at the Colorado Software Summit, as well as other industry conferences. He provides customized IT consulting and mentoring services based on each client's specific problem domain. He is currently involved in using open source freeware to develop interactive database-backed Web sites. He is also a co-author of GNUJSP, an open source implementation of JSP, and is the originator of the JSP Developer's Guide Web site. Contact him at noel@jspdevguide.com.
Abhinav Chopra, Senior Software Engineer, IBM
Abhinav Chopra is a senior software engineer with IBM Global Services India Ltd. He has extensive experience in Java-, J2EE- and XML-related technologies. His areas of expertise include designing and developing n-tier enterprise applications. He has presented Java- and XML-related topics in department-level talks, and holds professional certifications from IBM and Sun Microsystems. Contact him at abchopra@in.ibm.com.

Summary:  This tutorial introduces the fundamentals of JavaServer Pages (JSP) technology version 2.0 and provides an update to the original tutorial written by Noel J. Bergman that discussed JSP 1.2. This tutorial will give you a solid grasp of JSP basics and enable you to start writing your own JSP solutions.

Date:  28 Aug 2001
Level:  Introductory PDF:  A4 and Letter (185 KB | 57 pages)Get Adobe® Reader®

Activity:  43199 views
Comments:  

About this tutorial

What is this tutorial about?

This tutorial introduces the fundamentals of JavaServer Pages (JSP) technology 2.0 and provides an update to the original tutorial written by Noel J. Bergman that discussed JSP 1.2. This tutorial will give you a solid grasp of JSP basics and enable you to start writing your own JSP solutions. In particular, this tutorial will:

  • Discuss the fundamental elements that define JSP, such as concepts, syntax, and semantics.
  • Identify and exemplify each element.
  • Use short, specific, topical examples to illustrate each element and clearly illuminate important issues related to that element.

Should I take this tutorial?

This is an introductory tutorial intended for new or novice JSP programmers who have a solid grasp of Java programming and HTML. The emphasis is on simple explanations, rather than exhaustive coverage of every option. If you're a JSP expert, this tutorial is probably not for you. However, it will serve as a reference for knowledgeable developers wishing to shift to JSP 2.0 from earlier versions.

Note that this tutorial is strictly an overview of the JSP syntax and semantics; it does not address programming style.


Web container requirements

The JSP 2.0 specification requires J2SE 1.3 or later for stand-alone containers and version 1.4 for containers that are part of a J2EE 1.4 environment. To get started with JSP 2.0, the Web container must also support the Java Servlet 2.4 specification. All JSP containers must be able to run in a J2SE 1.4 environment.

Also, the JSP 2.0 specification uses the Servlet 2.4 specification for its Web semantics.

1 of 19 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Java technology
ArticleID=131632
TutorialTitle=Introduction to JavaServer Pages
publish-date=08282001
author1-email=
author1-email-cc=
author2-email=
author2-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).