Posted on 2006-07-16
Im devlopping a website.
I have all the countries stored in my DB,
When a user wants to subscribe to the website, ha has to select his country.
I loaded the countries from my DB in memory in a "load-on-start" servlet.
I'm making a JSP file that gets the countries and display them in a combobox.
My question :
For every request,
the jsp file needs to get the countries and display them from a java class.
But I want the countries to be loaded in this combobox just once (not for every new request).
Thank you for any help.