All Examples  This Package

Class examples.htmlkona.SimpleQueryDisplay

java.lang.Object
   |
   +----javax.servlet.GenericServlet
           |
           +----javax.servlet.http.HttpServlet
                   |
                   +----examples.htmlkona.SimpleQueryDisplay

public class SimpleQueryDisplay
extends HttpServlet
This servlet shows how you can use dbKona QueryDataSets to display data on an HTML page. A QueryDataSet holds the results of any SQL query. The results are available as a collection of Records accessible by an integer index.

You can create new records and modify existing records of a QueryDataSet, but the additions and changes cannot be saved. If you wish to save such changes, use a TableDataSet instead.

A Record contains a collection of attribute values that correspond to one fetch of a query. The Record elements are accessible by either integer position or string name.

Author:
Copyright (c) 1996-2000 by BEA Systems, Inc. All Rights Reserved.

Constructor Index

 o SimpleQueryDisplay()

Method Index

 o service(HttpServletRequest, HttpServletResponse)

Constructors

 o SimpleQueryDisplay
 public SimpleQueryDisplay()

Methods

 o service
 public synchronized void service(HttpServletRequest req,
                                  HttpServletResponse res) throws IOException
Overrides:
service in class HttpServlet

All Examples  This Package