All Examples  This Package

Class 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.

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

Constructor Index

 o SimpleQueryDisplay()

Method Index

 o service(HttpServletRequest, HttpServletResponse)


 o SimpleQueryDisplay
 public SimpleQueryDisplay()


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

All Examples  This Package