    All Examples  This Package

# Class examples.htmlkona.defaults

    java.lang.Object
       |
       +----examples.htmlkona.defaults

public class defaults
extends Object

The defaults file has methods that many of the servlets in this directory use for such things as connecting to a database and finding directories. You can set up variables once here, compile the entire directory, and not have to edit each servlet.

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

##

defaults()

##

fileloc()
imageloc()
login()
  These routines are shared by all the examples in the examples.
prefix()
server()
setPageDefaults()
showException(Exception, OutputStream)

##

defaults

     public defaults()

##

login

     public static Connection login() throws SQLException

  These routines are shared by all the examples in the examples.

server

     public static final String server()

prefix

     public static final String prefix()

fileloc

     public static final String fileloc()

imageloc

     public static final String imageloc()

showException

     public static void showException(Exception e,
                                      OutputStream out) throws IOException

setPageDefaults

     public static void setPageDefaults()

    All Examples  This Package