La utilidad servletrunner tiene dos propiedades para los servlets:
servlet.bookdb.code=database.BookDBServlet
La propiedad servlet.nombre.code llama a nuestro servlet asociando un nombre (en el ejemplo, bookdb) con una clase (en el ejemplo, database.BookDBServlet).
servlet.bookdb.initArgs=\
dbfile=servlets/DatabaseData
Los parámetros de inicialización múltiples se especifican separados por comas. Por ejemplo, si el servlet database se conectará a una base de datos real, sus argumentos iniciales podrían parecerse a esto:
servlet.bookdb.initArgs=\
user=duke,\
password=dukes_password,\
url=fill_in_the_database_url
# This file contains the properties for the Duke's Bookstore servlets.
# Duke's Book Store -- main page
servlet.bookstore.code=BookStoreServlet
# The servlet that manages the database of books
servlet.bookdb.code=database.BookDBServlet
# View all the books in the bookstore
servlet.catalog.code=CatalogServlet
# Show information about a specific book
servlet.bookdetails.code=BookDetailServlet
# See the books that you've chosen to buy
servlet.showcart.code=ShowCartServlet
# Collects information for buying the chosen books
servlet.cashier.code=CashierServlet
# Provide a receipt to the user who's bought books
servlet.receipt.code=ReceiptServlet