Return to index

 

JSP Projects

 

First of all prepare for running the JSP projects and learning JSP by downloading and building the following two projects, which provide support to some of the 'active' projects that follow.

 

The JSP Standard Tag Library (JSTL)

To use standard tags, such as <c:if test="xxx"> in your jsp projects, download, import and build this source file project.
JSTL


The SQL Tag Library

To use the sql tags in your jsp projects, download, import and build this source file project.
The SQL Query Tag Handler Project

 


 

Simple JSP Project 1

Illustrates a variety of JSP features. Download and import :

The JSP Project

 

Simple JSP Project 2

Illustrates the use of Expression Language and standard tags. Download and import :

The JSP Project

 

Simple JSP Project 3

Illustrates the use of Application Attributes. Download and import both:

The JSP Project and the Custom Tags Project

 

Simple JSP Project 4

Illustrates the use of Expression Language with Request Parameters. Download and import:

The JSP Project

 

Simple JSP Project 5

Illustrates the use of Standard 'Core' Tag Handlers. Download and import:

The JSP Project

 

NEW : A Calculator (Simple JSP Project 6)

Illustrates the use of forms with beans. Download and import:

The JSP Project (Works on some SDKs)

Don't forget to download the latest JSTL from the link above.

The Java HTML classes have a bug with forms in some SDKs (in our tests, 1.4.2_02 has the bug while 1.3.1 does not). If the project in the link above displays ok but does not work, it is because of this SDK bug. So we have put together an alternative in the link below that does work (though is less elegant). It still illustrates the way to easily fill Java Beans with form data.

The JSP Project (Works on all SDKs)

 

JSP and Forms - Part 1 (Simple JSP Project 7)

Illustrates the use of forms with beans. Download and import:

The JSP Project

 

JSP and Forms - Part 2 - Using a Bean for validation (Simple JSP Project 8)

Illustrates the use of forms with beans. Download and import:

The JSP Project

 

Duke's Book Store 2 - JSP Version

This example is composed of 2 projects - the JSP files plus the book store java classes - and secondly the java Tag Handlers. Download, import and build both. Have both projects open in TJI for building and when examining how it works.

The JSP Project and the Custom Tags Project

You also need the JSTL project - see above.

 

Duke's Book Store 3 - JSP Version 2 : using JDBC / SQL

This example is composed of 2 projects - the JSP files plus the book store java classes - and secondly the java Tag Handlers (same as Duke's BS 2). Download, import and build both. Have both projects open in TJI for building and when examining how it works.

The JSP Project (is different from 'Book Store 2')

and the Custom Tags Project (if not already downloaded with version 2)

You also need the JSTL project AND the SQL tag handlers project - see above.

 

There are more example JSP projects within the Database Examples section.

 

Return to index