JSTL Demonstrations

To gain a better understanding of simple JSTL functions, you can go to the helloworld site to view three demonstrations.

Sterling B2B Integrator contains three demonstrations of simple JSTL functions located at http://host:port/helloworld. Once you go to the helloworld site, you will be prompted for your username and password.

Note: Other demonstrations are available from the helloworld site. Only those listed in the table below are applicable to JSTL.

Demonstration

Description

Steps

JSTL Counting Demonstration

Demonstrates the core functional area features that enable counting in a Web template by letting you type a number to count to and returning the counted sequence.

  1. In the Type a number to count text box, enter the number you want the computer to count to.
  2. Click Go!

The list of numbers up to the number you entered in the text box displays in sequence.

JSTL XML Demonstration

Demonstrates the XML functional area features of parsing a document and reformatting the text from the document in a Web browser.

Click Go! next to the list where you selected JSTL XML Demo.

The parsed document displays in the JSP Web template.

JSTL Timezone Demonstration

Demonstrates the formatting functional area Format Timezone feature by letting you select a city to display the time and date of.

Note: The demonstration does not adjust for Daylight Savings Time.
Perform the following steps:
  1. From the list, select a city that you want to display the time for.
  2. Click Go!

The time and date for the city you selected displays in the updated JSP Web template.