return to first page linux journal archive
keywordscontents

Listing 4. Property File Example

login.user=roger
login.passwd=dodger
login.url=jdbc:postgresql:roger
login.jdbc=postgresql.Driver
table.name.bgcolor=wheat
html.title=<HTML><HEAD><TITLE>Guestbook</TITLE>
</HEAD><BODY BACKGROUND="/graphics/bg.gif">
html.header.list=<IMG SRC="/graphics/globe.jpg" 
ALIGN=LEFT><H1>Guest Book</H1>
Welcome to the Guest Book. Here are the comments other 
people have added.
<A HREF="/servlet/GuestBook?enter=true">Add</A>
your personal details to the list.<BR><HR>
html.header.form=<IMG SRC="/graphics/globe.jpg" 
ALIGN=LEFT><H1>Guest Book</H1>
Please enter your details in the form below. The only 
mandatory field is "Name". Click the "Submit" 
button to confirm and commit your details. <br><hr>
html.footer=<hr><small>This is a Java Servlet / JDBC / 
PostgreSQL-based application. It was developed by Bruce 
McDonald.<BR><EM>All rights reserved. Copyright 
1998</small></BODY></HTML>