Re: [appfuse-user] Database driven struts menu and filter

2007-04-27 Thread Jonathan Tse
Matt, I suppose you are talking about the HttpSessionListener interface. I got it working now. Thanks. Best regards, Jonathan Matt Raible wrote: You could use an HttpSessionActivationListener and do it that way - stuff the menu repository in the session of each new user. Matt On 4/27/

Re: [appfuse-user] Database driven struts menu and filter

2007-04-27 Thread Jonathan Tse
Matt, Thanks for your pointer. I am not familiar with HttpSessionActivationListener so i write one filter to test it. I notice that contextInitialized is called. I expected that sessionDidActivate() method will be called when there is a request from a client. However, it is not what i expe

Re: [appfuse-user] Database driven struts menu and filter

2007-04-27 Thread Matt Raible
You could use an HttpSessionActivationListener and do it that way - stuff the menu repository in the session of each new user. Matt On 4/27/07, Jonathan Tse <[EMAIL PROTECTED]> wrote: Hi all, I am using Spring 1.9.4 and Spring MVC. I want to make a strut menu from database. According to th

[appfuse-user] Database driven struts menu and filter

2007-04-27 Thread Jonathan Tse
Hi all, I am using Spring 1.9.4 and Spring MVC. I want to make a strut menu from database. According to the Database Driven Menu example, it suggests using filter to preload the data to the menu repository. I have written my data loading logic in service manager already, so how i can injec