Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## example.servlet.database
Class InitDatabaseServlet

    example.servlet.database.InitDatabaseServlet

public class InitDatabaseServlet

Initializes the database for use with `examples` packages.

###

###

     You need to make sure that the init-parameter jdbc-ref points
     to a correctly configured database pool.

     The init-parameter schema points to the SQL schema file used
     by InitDatabaseServlet. If you experience
     SQLExceptions, you may have to adapt the syntax in the file to
     your database.

    Constructor Summary

    InitDatabaseServlet()

    Method Summary

     void
    service(example.servlet.database.HttpServletRequest req,
            example.servlet.database.HttpServletResponse res)

    Constructor Detail

    InitDatabaseServlet

    public InitDatabaseServlet()

    Method Detail

    service

    public void service(example.servlet.database.HttpServletRequest req,
                        example.servlet.database.HttpServletResponse res)
                 throws java.io.IOException

          Overview
          Package
        Class
          Tree
          Deprecated
          Index
          Help

     PREV CLASS
     NEXT CLASS

      FRAMES
     NO FRAMES

      SUMMARY:  INNER | FIELD | CONSTR | METHOD

    DETAIL:  FIELD | CONSTR | METHOD