--- On Wed, 7/9/08, Dhiraj Thakur <[EMAIL PROTECTED]> wrote:
> There are 4 jsp page in which i want to show same category
> by retrieving it from database.
>  What is the best way to do that? should i write a
> intercepter which will retrieve Category from database 
> and store it in session?

If it's used across the application, by all users, and rarely changes, just 
keep it in the application context. You could also implement Preparable and 
retrieve the categories there.

Dave


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

Reply via email to