HTML Examples
This sample database contains a collection of live code examples that illustrates
techniques for developing an
HTML user interface for the client portion of your applications.
These examples reside in the Examples3_HTML database.
This page covers the following topics:
Description of the Examples3_HTML database

When you develop HTML clients in SilverStream, you create dynamic HTML pages
that are implemented in Java. The HTML page controls are represented by objects
on the server that have properties, events, and methods.
Typically, you design an HTML user interface for clients when you
want Internet or Intranet users to run your application from a
browser. Types of HTML clients include:
- SilverStream pages
- JavaServer Pages (JSP)
- Servlets
- Static HTML pages
In the Examples3_HTML database, you will find examples that demonstrate
numerous techniques for developing HTML clients, including:
-
Altering the properties of page controls.
-
Building a page that lets users navigate and manipulate data.
-
Manipulating lists.
-
Programming page events.
-
Managing page flow and state.
-
Implementing persistent session-level failover.
-
Using JavaScript to implement functions such as dynamically changing styles,
confirming requests before
submitting them to the server, recognizing your browser, and
validating control values.
-
Using HTML-based views to build master/detail pages, build matrix
style reports, and
update rows with a dialog.
-
Using page beans.
-
Exploring the benefits of caching in pages and servlets.
-
Implementing security by forcing page access through HTTPS instead of HTTP.
-
Graphing data using servlets.
-
Sending electronic mail asynchronously.
-
Using file attachments on pages.
How to get started

To begin exploring these examples, follow these steps:
-
Install and run the Examples3_HTML database.
The application starts up in your browser, as shown:
-
Browse through the list in the left navigation pane and
select examples of interest.
The example you select opens in the right pane, where you can interact
with its controls, as shown in this display:
As you can see, this display includes a View Documentation button,
which when pressed, brings up a detailed description of the technique
illustrated in the example.
HTML techniques

To learn how to implement HTML techniques and access sample code
that you can incorporate in your applications,
go to Application Techniques
in the help system:
HTML Client Techniques and
Triggered Business Object Techniques.
Where to find more information

For more information about developing
HTML clients, see Page Designer in
the Tools Guide and
the following
chapters in the Programmer's Guide: