Servertec List Employees Servlet
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
How To
Change Log
Future Plans
Knowledge Base
Documentation
Examples
Hello World
Display Arguments
Display Headers
URL Redirect
CGI Tester
SSI Tester
Servlet Tag
Servlet Chaining
Log
Cookie Counter
Cookie Tester
Protected Page
List Employees
Connection Pool
Simple Form
Dump Form
Page Counter
File Upload
Session Tester
Context Tester
C++ .NET
C# .NET
J# .NET
Visual Basic .NET
JavaServer Pages
Legal
Contact Us

 

The example makes use of the JDBC-ODBC bridge to access the employee table.

Before using this example the following entry must be defined as a System DSN using the ODBC Data Source Administrator from the Control Panel.

    Driver: Microsoft Access Driver (*mdb)
    Data Source Name: iob
    Database: iws_dir\databases\iob.mdb
where:
iws_dir is the directory where the server was installed, normally c:\iws.net.

This example displays a table showing any existing rows in the employee table.

The example establishes a shared cached connection when the servlet is first loaded and uses that single connection for all client requests. The connection is finally closed when the server is stopped.

Connection caching is an efficient way of managing a limited resource.

[ view source ] [ run ]

 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:57:20 EDT 2005