Michael,

I'm currently building some functionality on top of Struts for a 
project.  The way I found to do this the easiest was to keep my config 
in an XML file and use the commons digester in a Plugin.  Plugin writing 
is very straight-forward, and there are a couple of standard examples 
(TilesPlugin/ValidatorPlugin) out there for you to look at.  Personally, 
when I started in, I looked at the ValidatorPlugin.  It's much shorter 
and covered everything I cared about.

Day, Michael-IBM/TT wrote:

>This is probably one of the stupidest questions, but I don't know how to do something 
>once during application startup.
>
>For instance, if I wanted a bean to hold a list of states, how would I create that 
>once during startup?
>
Note:  If you needed to get persistent stuff out of a database, you 
could do your DB-access here to load your beans.

HTH

-- 
Eddie Bush




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to