Saturday, March 2, 2002 09:53 PM
The usual approach is to pass through an Action first, and
place the object in the request.
If these are static elements, they can also be placed in the
users session, or even in the application context, so that
they are always available.
Otherwise, you would have to conduct the database
query and create the bean on the JSP. This is a Model 1
approach and generally not recommended, but there is
nothing to prevent you from doing it. The
project has a number of handy tags for database access.