You have a few options. To initialize Spring, you can either use the Struts plugin or the web app context listener. Once that's done you can either use a startup servlet or a Struts plugin to load the data and put it into the servlet context. That way it only needs to be loaded once and is shared throughout the application.
It's pretty simple, but not very obvious. On 9/30/05, Martin Ravell <[EMAIL PROTECTED]> wrote: > > I have Menu information for my app in the database which I would like to > be > able to load somehow when my app server starts up (or app is deployed). > This > would be much more efficient than the current method of having each user > load it when they enter the application. > > Can anyone suggest how to best go about doing this? The architecture is > Struts, Hibernate and Spring. > > > Thanks > Marty > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >