To add some more details to the
questions-
If your 2 servlets are being
loaded dynamically from /servlets
then it is quite likely that they
are being loaded from different
classloaders, and so the 'People'
are not the same class. (servlet
containers create a new class loader
per (re-)load to support reloading).
If you are using an older container
like jserv or JWS you need to move
People.class (and your servlets if
you want) so that it is loaded from
the class path. This will ensure that
People is loaded just once.
If you have a newer container
which supports webapps, ensure
your servlets and 'People' are in
the same app.
Tim
http://www.westpoint.ltd.uk/
Internet reconnaissance services.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html